Audacity 3.2.0
|
#include <ExportUtils.h>
Public Types | |
enum class | ExportHookResult { Handled , Continue , Cancel } |
using | ExportHook = std::function< ExportHookResult(AudacityProject &, const FileExtension &)> |
using | Priority = unsigned |
Static Public Member Functions | |
static TrackIterRange< const WaveTrack > | FindExportWaveTracks (const TrackList &tracks, bool selectedOnly) |
static ExportProcessor::Parameters | ParametersFromEditor (const ExportOptionsEditor &editor) |
static void | RegisterExportHook (ExportHook hook, Priority=DEFAULT_EXPORT_HOOK_PRIORITY) |
static void | PerformInteractiveExport (AudacityProject &project, const FileExtension &format) |
Static Public Attributes | |
static constexpr Priority | DEFAULT_EXPORT_HOOK_PRIORITY = 0 |
Definition at line 26 of file ExportUtils.h.
using ExportUtils::ExportHook = std::function<ExportHookResult(AudacityProject&, const FileExtension&)> |
Definition at line 41 of file ExportUtils.h.
using ExportUtils::Priority = unsigned |
Definition at line 43 of file ExportUtils.h.
|
strong |
Enumerator | |
---|---|
Handled | |
Continue | |
Cancel |
Definition at line 34 of file ExportUtils.h.
|
static |
Definition at line 22 of file ExportUtils.cpp.
References Track::Any(), WaveTrack::GetMute(), PlayableTrack::GetNotSolo(), WaveTrack::GetSolo(), Track::IsSelected(), and tracks.
Referenced by ExportPluginHelpers::CreateMixer(), anonymous_namespace{FileMenus.cpp}::DoExport(), TimerRecordDialog::ExecutePostRecordActions(), ExportAudioDialog::ExportAudioDialog(), ExportFilePanel::Init(), and ExportAudioDialog::OnExport().
|
static |
Definition at line 32 of file ExportUtils.cpp.
References ExportOptionsEditor::GetOption(), ExportOptionsEditor::GetOptionsCount(), ExportOptionsEditor::GetValue(), and ExportOption::id.
Referenced by ExportCommand::Apply(), anonymous_namespace{FileMenus.cpp}::DoExport(), and ExportOptionsHandler::GetParameters().
|
static |
Definition at line 71 of file ExportUtils.cpp.
References Continue, anonymous_namespace{ExportUtils.cpp}::ExportHooks(), anonymous_namespace{ExportPCM.cpp}::format, and project.
Referenced by anonymous_namespace{FileMenus.cpp}::DoExport().
|
static |
Definition at line 60 of file ExportUtils.cpp.
References anonymous_namespace{ExportUtils.cpp}::ExportHooks().
|
staticconstexpr |
Definition at line 44 of file ExportUtils.h.