prefer audio-fader over midi-gain fader display.

This only affects mixer-strip display (and range).
The fader has effect on all MIDI and audio data
passing though it regardless of its display mode.
This commit is contained in:
Robin Gareus 2013-06-08 09:08:31 +02:00
parent ce0aa96838
commit 106364bcfc
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ GainMeterBase::setup_gain_adjustment ()
ignore_toggle = true;
if (_amp->output_streams().n_midi() == 0) {
if (_amp->output_streams().n_midi() <= _amp->output_streams().n_audio()) {
_data_type = DataType::AUDIO;
gain_adjustment.set_lower (0.0);
gain_adjustment.set_upper (1.0);