载入中...
搜索中...
未找到
AudioSourcePreview.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4#include <memory>
6
7namespace eve::editing {
8class TaskContext;
9}
10namespace eve::audio_editor {
30[[nodiscard]] EVENGINE_API_EDITORS std::shared_ptr<const IAudioSourcePreviewProvider> makeAudioSourcePreviewProvider();
31} // namespace eve::audio_editor
#define EVENGINE_API_EDITORS
Definition Export.h:112
const GltfImportRequest & request
const VegetationPresetContext & context
Move-only operation result carrying either a value or Status.
Definition Result.h:176
Immutable waveform provider, retained by each submitted job across replacement. @thread Worker only; ...
virtual audio_editing::Result< audio_editing::AudioWaveformResult > generate(const audio_editing::AudioWaveformRequest &request, const audio_editing::EditorAudioPcm &pcm, const editing::TaskContext &context) const =0
Compute a waveform from an immutable PCM snapshot; use TaskContext to cancel cooperatively....
Cooperative cancellation and progress API passed to worker code.
std::shared_ptr< const IAudioSourcePreviewProvider > makeAudioSourcePreviewProvider()
Create the native CPU waveform provider; this does not attach audio output.
Immutable waveform request tied to an audio document revision.
Decoded interleaved PCM supplied by an audio importer or codec plugin.