#include <TimerRecordExportDialog.h>
|
| TimerRecordExportDialog (AudacityProject &project, wxWindow *parent=nullptr, wxWindowID=wxID_ANY) |
|
void | Bind (wxFileName &filename, wxString &format, int &sampleRate, int &channels, ExportProcessor::Parameters ¶mters) |
|
| wxDialogWrapper () |
|
| wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
|
bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
|
void | SetTitle (const TranslatableString &title) |
|
void | SetLabel (const TranslatableString &title) |
|
void | SetName (const TranslatableString &title) |
|
void | SetName () |
|
| wxTabTraversalWrapper (Args &&... args) |
|
| wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete |
|
| wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete |
|
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
|
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
|
Definition at line 10 of file TimerRecordExportDialog.h.
◆ anonymous enum
◆ TimerRecordExportDialog()
TimerRecordExportDialog::TimerRecordExportDialog |
( |
AudacityProject & |
project, |
|
|
wxWindow * |
parent = nullptr , |
|
|
wxWindowID |
winid = wxID_ANY |
|
) |
| |
Definition at line 16 of file TimerRecordExportDialog.cpp.
21{
22 SetMinSize({450, -1});
25}
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
void PopulateOrExchange(ShuttleGui &S)
AudacityProject & mProject
References eIsCreating, and S.
◆ Bind()
void TimerRecordExportDialog::Bind |
( |
wxFileName & |
filename, |
|
|
wxString & |
format, |
|
|
int & |
sampleRate, |
|
|
int & |
channels, |
|
|
ExportProcessor::Parameters & |
paramters |
|
) |
| |
Definition at line 27 of file TimerRecordExportDialog.cpp.
32{
39}
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.
ExportFilePanel * mExportFilePanel
ExportProcessor::Parameters * mParameters
constexpr auto sampleRate
References anonymous_namespace{ExportPCM.cpp}::format, ExportFilePanel::Init(), mChannels, mExportFilePanel, mFileName, mFormat, mParameters, mSampleRate, and anonymous_namespace{ClipSegmentTest.cpp}::sampleRate.
Referenced by TimerRecordDialog::OnAutoExportPathButton_Click().
◆ OnEditMetadata()
void TimerRecordExportDialog::OnEditMetadata |
( |
wxCommandEvent & |
| ) |
|
|
private |
◆ OnFormatChanged()
void TimerRecordExportDialog::OnFormatChanged |
( |
wxCommandEvent & |
| ) |
|
|
private |
◆ OnOK()
void TimerRecordExportDialog::OnOK |
( |
wxCommandEvent & |
event | ) |
|
|
private |
Definition at line 64 of file TimerRecordExportDialog.cpp.
65{
68 else
69 return;
70
75
76 event.Skip();
77}
int GetSampleRate() const
std::optional< ExportProcessor::Parameters > GetParameters() const
virtual FormatInfo GetFormatInfo(int index) const =0
Returns FormatInfo structure for given index if it's valid, or a default one. FormatInfo::format isn'...
References FormatInfo::format, ExportFilePanel::GetChannels(), ExportFilePanel::GetFormat(), ExportPlugin::GetFormatInfo(), ExportFilePanel::GetFullName(), ExportFilePanel::GetParameters(), ExportFilePanel::GetPath(), ExportFilePanel::GetPlugin(), ExportFilePanel::GetSampleRate(), mChannels, mExportFilePanel, mFileName, mFormat, mParameters, and mSampleRate.
◆ PopulateOrExchange()
void TimerRecordExportDialog::PopulateOrExchange |
( |
ShuttleGui & |
S | ) |
|
|
private |
Definition at line 41 of file TimerRecordExportDialog.cpp.
42{
45 {
47 {
50 }
51
52 S.StartHorizontalLay(wxEXPAND);
53 {
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);
58 }
60 }
62}
References EditMetadataID, eIsCreating, ExportFilePanelID, mEditMetadata, mExportFilePanel, mProject, S, safenew, and XO().
◆ mChannels
int* TimerRecordExportDialog::mChannels {} |
|
private |
◆ mEditMetadata
wxButton* TimerRecordExportDialog::mEditMetadata {} |
|
private |
◆ mExportFilePanel
◆ mFileName
wxFileName* TimerRecordExportDialog::mFileName {} |
|
private |
◆ mFormat
wxString* TimerRecordExportDialog::mFormat {} |
|
private |
◆ mParameters
◆ mProject
◆ mSampleRate
int* TimerRecordExportDialog::mSampleRate {} |
|
private |
The documentation for this class was generated from the following files: