22 SetMinSize({450, -1});
24 PopulateOrExchange(
S);
52 S.StartHorizontalLay(wxEXPAND);
55 S.AddSpace(1, 1, wxEXPAND);
56 S.Id(wxID_CANCEL).AddButton(
XO(
"&Cancel"), wxBOTTOM);
57 S.Id(wxID_OK).AddButton(
XO(
"O&K"), wxRIGHT | wxBOTTOM,
true);
82 XO(
"Edit Metadata Tags"),
91 auto enableMeta =
false;
EVT_BUTTON(wxID_NO, DependencyDialog::OnNo) EVT_BUTTON(wxID_YES
EVT_COMMAND(wxID_ANY, EVT_FREQUENCYTEXTCTRL_UPDATED, LabelDialog::OnFreqUpdate) LabelDialog
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
const ExportPlugin * GetPlugin() const
int GetSampleRate() const
std::optional< ExportProcessor::Parameters > GetParameters() const
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.
Main class to control the export function.
virtual FormatInfo GetFormatInfo(int index) const =0
Returns FormatInfo structure for given index if it's valid, or a default one. FormatInfo::format isn'...
std::vector< std::tuple< ExportOptionID, ExportValue > > Parameters
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
void Bind(wxFileName &filename, wxString &format, int &sampleRate, int &channels, ExportProcessor::Parameters ¶mters)
ExportFilePanel * mExportFilePanel
void OnOK(wxCommandEvent &)
void OnFormatChanged(wxCommandEvent &)
void OnEditMetadata(wxCommandEvent &)
void PopulateOrExchange(ShuttleGui &S)
ExportProcessor::Parameters * mParameters
AudacityProject & mProject
constexpr auto sampleRate