summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2012-11-13 11:51:45 +0000
committerRobert Jonsson <spamatica@gmail.com>2012-11-13 11:51:45 +0000
commit817bdcfdf6512566f833360133fd70c9217436b2 (patch)
tree0f580d0f50a8292b3a19f42e775b35cf5c8869bf /muse2
parent308c581aea646cffd2485384129e286d5846e076 (diff)
fixed gain initialization in copy constructor
Diffstat (limited to 'muse2')
-rw-r--r--muse2/ChangeLog2
-rw-r--r--muse2/muse/audiotrack.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog
index c6b38520..0efcd0ca 100644
--- a/muse2/ChangeLog
+++ b/muse2/ChangeLog
@@ -1,3 +1,5 @@
+13.11.2012:
+ - Fix init of gain for duplicated audiotracks (rj)
12.11.2012:
- Added aftertouch controllers to all relevant remaining instrument files. (Tim)
- Synths: Added aftertouch controller to fluidsynth, and aftertouch/poly-aftertouch to DSSI. (Tim)
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)