mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-19 09:30:52 +02:00
fixed a initialization order warnings in src/Project.cpp
This commit is contained in:
parent
1bc7943560
commit
f601cacb8c
@ -914,6 +914,8 @@ AudacityProject::AudacityProject(wxWindow * parent, wxWindowID id,
|
|||||||
const wxPoint & pos,
|
const wxPoint & pos,
|
||||||
const wxSize & size)
|
const wxSize & size)
|
||||||
: wxFrame(parent, id, _TS("Audacity"), pos, size),
|
: wxFrame(parent, id, _TS("Audacity"), pos, size),
|
||||||
|
mViewInfo(0.0, 1.0, ZoomInfo::GetDefaultZoom()),
|
||||||
|
mbLoadedFromAup( false ),
|
||||||
mRate((double) gPrefs->Read(wxT("/SamplingRate/DefaultProjectSampleRate"), AudioIO::GetOptimalSupportedSampleRate())),
|
mRate((double) gPrefs->Read(wxT("/SamplingRate/DefaultProjectSampleRate"), AudioIO::GetOptimalSupportedSampleRate())),
|
||||||
mDefaultFormat((sampleFormat) gPrefs->
|
mDefaultFormat((sampleFormat) gPrefs->
|
||||||
Read(wxT("/SamplingRate/DefaultProjectSampleFormat"), floatSample)),
|
Read(wxT("/SamplingRate/DefaultProjectSampleFormat"), floatSample)),
|
||||||
@ -921,9 +923,7 @@ AudacityProject::AudacityProject(wxWindow * parent, wxWindowID id,
|
|||||||
mSelectionFormat(gPrefs->Read(wxT("/SelectionFormat"), wxT(""))),
|
mSelectionFormat(gPrefs->Read(wxT("/SelectionFormat"), wxT(""))),
|
||||||
mFrequencySelectionFormatName(gPrefs->Read(wxT("/FrequencySelectionFormatName"), wxT(""))),
|
mFrequencySelectionFormatName(gPrefs->Read(wxT("/FrequencySelectionFormatName"), wxT(""))),
|
||||||
mBandwidthSelectionFormatName(gPrefs->Read(wxT("/BandwidthSelectionFormatName"), wxT(""))),
|
mBandwidthSelectionFormatName(gPrefs->Read(wxT("/BandwidthSelectionFormatName"), wxT(""))),
|
||||||
mUndoManager(std::make_unique<UndoManager>()),
|
mUndoManager(std::make_unique<UndoManager>())
|
||||||
mViewInfo(0.0, 1.0, ZoomInfo::GetDefaultZoom()),
|
|
||||||
mbLoadedFromAup( false )
|
|
||||||
{
|
{
|
||||||
mTracks = TrackList::Create();
|
mTracks = TrackList::Create();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user