diff --git a/src/WaveTrack.cpp b/src/WaveTrack.cpp index 4fcaec335..7c2ad60fb 100644 --- a/src/WaveTrack.cpp +++ b/src/WaveTrack.cpp @@ -98,6 +98,7 @@ WaveTrack::WaveTrack(DirManager *projDirManager, sampleFormat format, double rat mDisplayNumLocations = 0; mDisplayLocations = NULL; mDisplayNumLocationsAllocated = 0; + mLastDisplay = -1; } WaveTrack::WaveTrack(WaveTrack &orig): diff --git a/src/toolbars/MixerToolBar.cpp b/src/toolbars/MixerToolBar.cpp index 064563a52..ff5982f90 100644 --- a/src/toolbars/MixerToolBar.cpp +++ b/src/toolbars/MixerToolBar.cpp @@ -58,6 +58,8 @@ END_EVENT_TABLE() MixerToolBar::MixerToolBar() : ToolBar(MixerBarID, _("Mixer"), wxT("Mixer")) { + mInputSliderVolume = 0.0; + mOutputSliderVolume = 0.0; } MixerToolBar::~MixerToolBar() diff --git a/src/widgets/TimeTextCtrl.cpp b/src/widgets/TimeTextCtrl.cpp index 5e837806e..cc3486ee8 100644 --- a/src/widgets/TimeTextCtrl.cpp +++ b/src/widgets/TimeTextCtrl.cpp @@ -395,9 +395,9 @@ TimeConverter::TimeConverter(const wxString & formatName, mFocusedDigit = 0; - SetFormatName(formatName); - SetTimeValue(timeValue); SetSampleRate(sampleRate); + SetTimeValue(timeValue); + SetFormatName(formatName); } void TimeConverter::ParseFormatString( const wxString & format)