Audacity 3.2.0
Namespaces | Macros | Enumerations | Functions | Variables
DevicePrefs.cpp File Reference
#include "DevicePrefs.h"
#include "AudioIOBase.h"
#include "IteratorX.h"
#include "RecordingPrefs.h"
#include <wx/defs.h>
#include <wx/choice.h>
#include <wx/combobox.h>
#include <wx/log.h>
#include <wx/textctrl.h>
#include <wx/bmpbuttn.h>
#include "portaudio.h"
#include "Prefs.h"
#include "ShuttleGui.h"
#include "DeviceManager.h"
#include "ProjectRate.h"
#include "QualityPrefs.h"
#include "QualitySettings.h"
#include "AllThemeResources.h"
#include "Theme.h"
Include dependency graph for DevicePrefs.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{DevicePrefs.cpp}
 

Macros

#define ID_DEFAULT_SAMPLE_RATE_CHOICE   7001
 

Enumerations

enum  {
  HostID = 10000 , PlayID , RecordID , ChannelsID ,
  DefaultSampleRateChoice , ProjectSampleRateChoice
}
 

Functions

PrefsPanelDevicePrefsFactory (wxWindow *parent, wxWindowID winid, AudacityProject *project)
 

Variables

PrefsPanel::Registration anonymous_namespace{DevicePrefs.cpp}::sAttachment
 

Macro Definition Documentation

◆ ID_DEFAULT_SAMPLE_RATE_CHOICE

#define ID_DEFAULT_SAMPLE_RATE_CHOICE   7001

Definition at line 51 of file DevicePrefs.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
HostID 
PlayID 
RecordID 
ChannelsID 
DefaultSampleRateChoice 
ProjectSampleRateChoice 

Definition at line 53 of file DevicePrefs.cpp.

53 {
54 HostID = 10000,
55 PlayID,
60};
@ ChannelsID
Definition: DevicePrefs.cpp:57
@ DefaultSampleRateChoice
Definition: DevicePrefs.cpp:58
@ PlayID
Definition: DevicePrefs.cpp:55
@ HostID
Definition: DevicePrefs.cpp:54
@ RecordID
Definition: DevicePrefs.cpp:56
@ ProjectSampleRateChoice
Definition: DevicePrefs.cpp:59

Function Documentation

◆ DevicePrefsFactory()

PrefsPanel * DevicePrefsFactory ( wxWindow *  parent,
wxWindowID  winid,
AudacityProject project 
)

Definition at line 567 of file DevicePrefs.cpp.

568{
569 wxASSERT(parent); // to justify safenew
570 return safenew DevicePrefs(parent, winid, project);
571}
#define safenew
Definition: MemoryX.h:10
const auto project
A PrefsPanel used to select recording and playback devices and other settings.
Definition: DevicePrefs.h:26

References project, and safenew.

Referenced by AudioSetupToolBar::CommonMenuItemSteps().

Here is the caller graph for this function: