diff options
author | Robert Jonsson <spamatica@gmail.com> | 2012-10-03 20:25:23 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2012-10-03 20:25:23 +0000 |
commit | 2783d453532728eee509c1e61d4bdd4a5bfac64f (patch) | |
tree | 1e07aecd2e597618b93fbd65ccf313311e5c7b3b /muse2/muse | |
parent | 1b0b76eff1325963420c3e4b6d50e3f7e4c791f4 (diff) |
defaults for wave track and audio input changed
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/audiotrack.cpp | 2 | ||||
-rw-r--r-- | muse2/muse/track.h | 2 |
2 files changed, 2 insertions, 2 deletions
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); } |