summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse2/ChangeLog3
-rw-r--r--muse2/muse/audiotrack.cpp2
-rw-r--r--muse2/muse/track.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog
index dbdfaa22..48d3cc49 100644
--- a/muse2/ChangeLog
+++ b/muse2/ChangeLog
@@ -1,3 +1,6 @@
+03.10.2012:
+ - Changed WaveTrack and AudioInput to create mono tracks, AudioInputs
+ are also no longer muted upon creation (rj)
02.10.2012:
- Added descriptive tooltip to cursor mode in drum editor (rj)
01.10.2012:
diff --git a/muse2/muse/audiotrack.cpp b/muse2/muse/audiotrack.cpp
index f9c298a6..ab750edb 100644
--- a/muse2/muse/audiotrack.cpp
+++ b/muse2/muse/audiotrack.cpp
@@ -1443,7 +1443,7 @@ AudioInput::AudioInput()
: AudioTrack(AUDIO_INPUT)
{
// set Default for Input Ports:
- _mute = true;
+ setChannels(1);
for (int i = 0; i < MAX_CHANNELS; ++i)
jackPorts[i] = 0;
}
diff --git a/muse2/muse/track.h b/muse2/muse/track.h
index c7423ed2..5390d40c 100644
--- a/muse2/muse/track.h
+++ b/muse2/muse/track.h
@@ -591,7 +591,7 @@ class WaveTrack : public AudioTrack {
public:
- WaveTrack() : AudioTrack(Track::WAVE) { }
+ WaveTrack() : AudioTrack(Track::WAVE) { setChannels(1); }
WaveTrack(const WaveTrack& wt, int flags) : AudioTrack(wt, flags) {}
virtual WaveTrack* clone(int flags) const { return new WaveTrack(*this, flags); }