mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Update ContrilList debug output.
This commit is contained in:
parent
be1396d066
commit
4dcd22fadf
1 changed files with 1 additions and 1 deletions
|
|
@ -587,7 +587,7 @@ ControlList::add (double when, double value, bool with_guards, bool with_initial
|
||||||
if (_desc.toggled) {
|
if (_desc.toggled) {
|
||||||
const double opp_val = ((value < 0.5) ? 1.0 : 0.0);
|
const double opp_val = ((value < 0.5) ? 1.0 : 0.0);
|
||||||
_events.insert (_events.end(), new ControlEvent (0, opp_val));
|
_events.insert (_events.end(), new ControlEvent (0, opp_val));
|
||||||
DEBUG_TRACE (DEBUG::ControlList, string_compose ("@%1 added bool value %2 at zero\n", this, opp_val));
|
DEBUG_TRACE (DEBUG::ControlList, string_compose ("@%1 added toggled value %2 at zero\n", this, opp_val));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
_events.insert (_events.end(), new ControlEvent (0, value));
|
_events.insert (_events.end(), new ControlEvent (0, value));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue