Audacity  3.0.3
Functions | Variables
QualitySettings Namespace Reference

Functions

PROJECT_RATE_API sampleFormat SampleFormatChoice ()
 

Variables

PROJECT_RATE_API IntSetting DefaultSampleRate
 
PROJECT_RATE_API EnumSetting< sampleFormatSampleFormatSetting
 

Function Documentation

◆ SampleFormatChoice()

sampleFormat QualitySettings::SampleFormatChoice ( )

Definition at line 38 of file QualitySettings.cpp.

39 {
40  return SampleFormatSetting.ReadEnum();
41 }

References SampleFormatSetting.

Referenced by ImportFileHandle::ChooseFormat(), anonymous_namespace{TrackMenus.cpp}::DoMixAndRender(), FindDependencies(), ProjectManager::GetEstimatedRecordingMinsLeftOnDisk(), WaveTrackFactory::NewWaveTrack(), TrackActions::Handler::OnNewStereoTrack(), TrackActions::Handler::OnNewWaveTrack(), RemoveDependencies(), and AudioIO::StartMonitoring().

Here is the caller graph for this function:

Variable Documentation

◆ DefaultSampleRate

IntSetting QualitySettings::DefaultSampleRate
extern

◆ SampleFormatSetting

EnumSetting< sampleFormat > QualitySettings::SampleFormatSetting
extern
Initial value:
{
L"/SamplingRate/DefaultProjectSampleFormatChoice",
{
{ L"Format16Bit", XO("16-bit") },
{ L"Format24Bit", XO("24-bit") },
{ L"Format32BitFloat", XO("32-bit float") }
},
2,
{
},
L"/SamplingRate/DefaultProjectSampleFormat",
}

Definition at line 20 of file QualitySettings.cpp.

Referenced by QualityPrefs::PopulateOrExchange(), and SampleFormatChoice().

QualitySettings::SampleFormatSetting
PROJECT_RATE_API EnumSetting< sampleFormat > SampleFormatSetting
Definition: QualitySettings.cpp:20
XO
#define XO(s)
Definition: Internat.h:31
int24Sample
@ int24Sample
Definition: SampleFormat.h:33
floatSample
@ floatSample
Definition: SampleFormat.h:34
int16Sample
@ int16Sample
Definition: SampleFormat.h:32
AudioIOBase::GetOptimalSupportedSampleRate
static int GetOptimalSupportedSampleRate()
Get a supported sample rate which can be used a an optimal default.
Definition: AudioIOBase.cpp:561