From 1737dc18696f9a2cf8ae6524e23e31a884a013ff Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 17 Dec 2020 17:30:24 +0100 Subject: [PATCH] Revert "Fix typo in OSC gain feedback message" This was not a typo after all, but a way to show the gain in the name-display, as per manual: > In the case where Gainmode is set to position, the track name > will show the dB value while values are changing. This reverts commit 3290d66a43f532aef141a037636a895e8bac6e61. --- libs/surfaces/osc/osc_route_observer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/surfaces/osc/osc_route_observer.cc b/libs/surfaces/osc/osc_route_observer.cc index e853e311a1..5b2ba2dfdc 100644 --- a/libs/surfaces/osc/osc_route_observer.cc +++ b/libs/surfaces/osc/osc_route_observer.cc @@ -609,7 +609,7 @@ OSCRouteObserver::send_gain_message () if (gainmode) { _osc.float_message_with_id (X_("/strip/fader"), ssid, _gain_control->internal_to_interface (_last_gain), in_line, addr); if (gainmode == 1) { - _osc.text_message_with_id (X_("/strip/gain"), ssid, string_compose ("%1%2%3", std::fixed, std::setprecision(2), accurate_coefficient_to_dB (_last_gain)), in_line, addr); + _osc.text_message_with_id (X_("/strip/name"), ssid, string_compose ("%1%2%3", std::fixed, std::setprecision(2), accurate_coefficient_to_dB (_last_gain)), in_line, addr); gain_timeout = 8; } }