summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)