12#ifndef __AUDACITY_DEVICE_PREFS__
13#define __AUDACITY_DEVICE_PREFS__
23#define DEVICE_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Device") }
42 void OnHost(wxCommandEvent & e);
PrefsPanel * DevicePrefsFactory(wxWindow *parent, wxWindowID winid, AudacityProject *)
std::vector< TranslatableString > TranslatableStrings
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
A PrefsPanel used to select recording and playback devices and other settings.
wxTextCtrl * mOtherProjectSampleRate
void OnDevice(wxCommandEvent &e)
wxChoice * mDefaultSampleRates
wxArrayStringEx mHostLabels
void OnProjectSampleRateChoice(wxCommandEvent &e)
wxTextCtrl * mOtherDefaultSampleRate
ComponentInterfaceSymbol GetSymbol() const override
DevicePrefs(wxWindow *parent, wxWindowID winid, AudacityProject *project)
void PopulateOrExchange(ShuttleGui &S) override
int mOtherDefaultSampleRateValue
TranslatableStrings mSampleRateNames
void OnDefaultSampleRateChoice(wxCommandEvent &e)
void OnHost(wxCommandEvent &e)
TranslatableString GetDescription() const override
wxChoice * mProjectSampleRates
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
std::vector< int > mSampleRateValues
int mProjectSampleRateIndex
AudacityProject * mProject
int mOtherProjectSampleRateValue
TranslatableStrings mHostNames
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.
Extend wxArrayString with move operations and construction and insertion fromstd::initializer_list.