Audacity 3.2.0
|
ImportRawDialog prompts you with options such as endianness and sample size to help you importing data of an unknown format. More...
Public Member Functions | |
ImportRawDialog (wxWindow *parent, const wxString &fileName) | |
~ImportRawDialog () | |
void | OnOK (wxCommandEvent &event) |
void | OnCancel (wxCommandEvent &event) |
void | OnPlay (wxCommandEvent &event) |
void | OnDetect (wxCommandEvent &event) |
void | OnChoice (wxCommandEvent &event) |
Public Member Functions inherited from wxDialogWrapper | |
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 () |
Public Member Functions inherited from wxTabTraversalWrapper< wxDialog > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Static Public Attributes | |
static int | mEncoding = SF_FORMAT_RAW | SF_ENDIAN_CPU | SF_FORMAT_PCM_16 |
static unsigned | mChannels = 1 |
static long long | mOffset = 0 |
static double | mRate = 0 |
static double | mPercent = 100. |
Private Attributes | |
wxButton * | mOK |
wxChoice * | mEncodingChoice |
wxChoice * | mEndianChoice |
wxChoice * | mChannelChoice |
wxTextCtrl * | mOffsetText |
wxTextCtrl * | mPercentText |
wxComboBox * | mRateText |
std::vector< int > | mEncodingSubtype |
wxString | mFileName |
ImportRawDialog prompts you with options such as endianness and sample size to help you importing data of an unknown format.
Definition at line 58 of file ImportRaw.cpp.
ImportRawDialog::ImportRawDialog | ( | wxWindow * | parent, |
const wxString & | fileName | ||
) |
Definition at line 294 of file ImportRaw.cpp.
References _, ChoiceID, DetectID, eIsCreating, getEndianChoice(), AudioIOBase::NumStandardRates, S, sf_encoding_index_name(), sf_encoding_index_to_subtype(), sf_num_encodings(), AudioIOBase::StandardRates, Verbatim(), wxT(), XO(), and XXO().
ImportRawDialog::~ImportRawDialog | ( | ) |
Definition at line 434 of file ImportRaw.cpp.
void ImportRawDialog::OnCancel | ( | wxCommandEvent & | event | ) |
Definition at line 467 of file ImportRaw.cpp.
void ImportRawDialog::OnChoice | ( | wxCommandEvent & | event | ) |
Definition at line 502 of file ImportRaw.cpp.
References mChannelChoice, mEncoding, mEncodingChoice, mEncodingSubtype, mEndianChoice, and mOK.
Referenced by OnDetect().
void ImportRawDialog::OnDetect | ( | wxCommandEvent & | event | ) |
Definition at line 476 of file ImportRaw.cpp.
References getEndianChoice(), FormatClassifier::GetResultChannels(), FormatClassifier::GetResultFormatLibSndfile(), mChannelChoice, mChannels, mEncoding, mEncodingChoice, mEncodingSubtype, mEndianChoice, mFileName, and OnChoice().
void ImportRawDialog::OnOK | ( | wxCommandEvent & | event | ) |
Definition at line 438 of file ImportRaw.cpp.
References mChannelChoice, mChannels, mEncoding, mEncodingChoice, mEncodingSubtype, mEndianChoice, mOffset, mOffsetText, mPercent, mPercentText, mRate, and mRateText.
void ImportRawDialog::OnPlay | ( | wxCommandEvent & | event | ) |
Definition at line 472 of file ImportRaw.cpp.
|
private |
Definition at line 83 of file ImportRaw.cpp.
Referenced by OnChoice(), OnDetect(), and OnOK().
|
static |
Definition at line 73 of file ImportRaw.cpp.
Referenced by ImportRaw(), OnDetect(), and OnOK().
|
static |
Definition at line 72 of file ImportRaw.cpp.
Referenced by ImportRaw(), OnChoice(), OnDetect(), and OnOK().
|
private |
Definition at line 81 of file ImportRaw.cpp.
Referenced by OnChoice(), OnDetect(), and OnOK().
|
private |
Definition at line 88 of file ImportRaw.cpp.
Referenced by OnChoice(), OnDetect(), and OnOK().
|
private |
Definition at line 82 of file ImportRaw.cpp.
Referenced by OnChoice(), OnDetect(), and OnOK().
|
private |
Definition at line 90 of file ImportRaw.cpp.
Referenced by OnDetect().
|
static |
Definition at line 74 of file ImportRaw.cpp.
Referenced by ImportRaw(), and OnOK().
|
private |
Definition at line 84 of file ImportRaw.cpp.
Referenced by OnOK().
|
private |
Definition at line 80 of file ImportRaw.cpp.
Referenced by OnChoice().
|
static |
Definition at line 76 of file ImportRaw.cpp.
Referenced by ImportRaw(), and OnOK().
|
private |
Definition at line 85 of file ImportRaw.cpp.
Referenced by OnOK().
|
static |
Definition at line 75 of file ImportRaw.cpp.
Referenced by ImportRaw(), and OnOK().
|
private |
Definition at line 86 of file ImportRaw.cpp.
Referenced by OnOK().