diff options
author | Robert Jonsson <spamatica@gmail.com> | 2012-11-13 11:51:45 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2012-11-13 11:51:45 +0000 |
commit | 817bdcfdf6512566f833360133fd70c9217436b2 (patch) | |
tree | 0f580d0f50a8292b3a19f42e775b35cf5c8869bf /muse2/muse | |
parent | 308c581aea646cffd2485384129e286d5846e076 (diff) |
fixed gain initialization in copy constructor
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/audiotrack.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/audiotrack.cpp b/muse2/muse/audiotrack.cpp index da6f196b..08240f75 100644 --- a/muse2/muse/audiotrack.cpp +++ b/muse2/muse/audiotrack.cpp @@ -145,7 +145,8 @@ AudioTrack::AudioTrack(const AudioTrack& t, int flags) _recFile = NULL; - internal_assign(t, flags | ASSIGN_PROPERTIES); + _gain = t._gain; + internal_assign(t, flags | ASSIGN_PROPERTIES); } void AudioTrack::internal_assign(const Track& t, int flags) |