mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 14:52:34 +02:00
Init mOldGains
I'd neglected to do this, which can lead to unwanted noise.
This commit is contained in:
parent
0ce83abbfb
commit
9012b98eca
@ -108,6 +108,8 @@ WaveTrack::WaveTrack(const std::shared_ptr<DirManager> &projDirManager, sampleFo
|
|||||||
mRate = (int) rate;
|
mRate = (int) rate;
|
||||||
mGain = 1.0;
|
mGain = 1.0;
|
||||||
mPan = 0.0;
|
mPan = 0.0;
|
||||||
|
mOldGain[0] = 0.0;
|
||||||
|
mOldGain[1] = 0.0;
|
||||||
mWaveColorIndex = 0;
|
mWaveColorIndex = 0;
|
||||||
SetDefaultName(TracksPrefs::GetDefaultAudioTrackNamePreference());
|
SetDefaultName(TracksPrefs::GetDefaultAudioTrackNamePreference());
|
||||||
SetName(GetDefaultName());
|
SetName(GetDefaultName());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user