mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-11 14:04:29 +01:00
Don't store default sample format in ProjectSettings...
... it's a global preference.
This commit is contained in:
@@ -14,7 +14,6 @@ Paul Licameli split from AudacityProject.cpp
|
||||
|
||||
#include "AudioIOBase.h"
|
||||
#include "Project.h"
|
||||
#include "prefs/QualityPrefs.h"
|
||||
#include "widgets/NumericTextCtrl.h"
|
||||
#include "prefs/TracksBehaviorsPrefs.h"
|
||||
|
||||
@@ -62,7 +61,6 @@ ProjectSettings::ProjectSettings( AudacityProject &project )
|
||||
NumericConverter::BANDWIDTH,
|
||||
gPrefs->Read(wxT("/BandwidthSelectionFormatName"), wxT("")) )
|
||||
}
|
||||
, mDefaultFormat{ QualityPrefs::SampleFormatChoice() }
|
||||
, mSnapTo( gPrefs->Read(wxT("/SnapTo"), SNAP_OFF) )
|
||||
{
|
||||
if (!gPrefs->Read(wxT("/SamplingRate/DefaultProjectSampleRate"), &mRate,
|
||||
@@ -115,8 +113,6 @@ void ProjectSettings::UpdatePrefs()
|
||||
bar.SetRate( mRate );
|
||||
}
|
||||
#endif
|
||||
|
||||
mDefaultFormat = QualityPrefs::SampleFormatChoice();
|
||||
}
|
||||
|
||||
const NumericFormatSymbol &
|
||||
|
||||
Reference in New Issue
Block a user