summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2012-10-03 20:25:23 +0000
committerRobert Jonsson <spamatica@gmail.com>2012-10-03 20:25:23 +0000
commit2783d453532728eee509c1e61d4bdd4a5bfac64f (patch)
tree1e07aecd2e597618b93fbd65ccf313311e5c7b3b
parent1b0b76eff1325963420c3e4b6d50e3f7e4c791f4 (diff)
defaults for wave track and audio input changed
-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); }