25 AUDACITY_EXPORT_FORMAT_CHANGE_EVENT, wxCommandEvent);
33 bool monoStereoMode =
false,
34 wxWindow* parent =
nullptr,
35 wxWindowID winid = wxID_ANY);
50 void Init(
const wxFileName& filename,
52 const wxString&
format = wxEmptyString,
68 std::optional<ExportProcessor::Parameters>
GetParameters()
const;
118 DECLARE_EVENT_TABLE()
wxDECLARE_EXPORTED_EVENT(AUDACITY_DLL_API, AUDACITY_EXPORT_FORMAT_CHANGE_EVENT, wxCommandEvent)
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
const ExportPlugin * GetPlugin() const
std::unique_ptr< MixerOptions::Downmix > mMixerSpec
void UpdateSampleRateList()
void OnFullNameFocusKill(wxFocusEvent &event)
std::unique_ptr< ExportOptionsHandler > mOptionsHandler
void OnSampleRateChange(wxCommandEvent &event)
const ExportPlugin * mSelectedPlugin
int GetSampleRate() const
~ExportFilePanel() override
AudacityProject & mProject
void SetCustomMappingEnabled(bool enabled)
static constexpr auto MaxExportChannels
MixerOptions::Downmix * GetMixerSpec() const
void ChangeFormat(int index)
void OnFormatChange(wxCommandEvent &event)
wxWindow * mAudioOptionsPanel
wxRadioButton * mCustomMapping
void OnFolderBrowse(wxCommandEvent &event)
void OnChannelsConfigure(wxCommandEvent &event)
std::optional< ExportProcessor::Parameters > GetParameters() const
void OnOptionsHandlerEvent(const ExportOptionsHandlerEvent &e)
Observer::Subscription mOptionsChangeSubscription
void UpdateMaxChannels(unsigned maxChannels)
ExportFilePanel(AudacityProject &project, bool monoStereoMode=false, wxWindow *parent=nullptr, wxWindowID winid=wxID_ANY)
void Init(const wxFileName &filename, int sampleRate, const wxString &format=wxEmptyString, int channels=0, const ExportProcessor::Parameters ¶meters={}, const MixerOptions::Downmix *mixerSpec=nullptr)
Initializes panel with export settings provided as arguments. Call is required.
void PopulateOrExchange(ShuttleGui &S)
void OnChannelsChange(wxCommandEvent &event)
wxButton * mCustomizeChannels
std::vector< std::tuple< ExportOptionID, ExportValue > > Parameters
A matrix of booleans, one row per input channel, column per output.
A move-only handle representing a connection to a Publisher.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
constexpr auto sampleRate