projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce0aa96
)
prefer audio-fader over midi-gain fader display.
author
Robin Gareus
<robin@gareus.org>
Sat, 8 Jun 2013 07:08:31 +0000
(09:08 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sat, 8 Jun 2013 07:08:31 +0000
(09:08 +0200)
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.
gtk2_ardour/gain_meter.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/gain_meter.cc
b/gtk2_ardour/gain_meter.cc
index 73d2ce648b8dcc73270637319344193562d70618..b267f15d9d635aac225358d1f9c5ab3b732e85d6 100644
(file)
--- a/
gtk2_ardour/gain_meter.cc
+++ b/
gtk2_ardour/gain_meter.cc
@@
-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);