projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f0a54d0
)
C++98 compat for 032139ac3
author
Robin Gareus
<robin@gareus.org>
Sat, 6 Aug 2016 12:40:18 +0000
(14:40 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sat, 6 Aug 2016 12:40:18 +0000
(14:40 +0200)
libs/surfaces/osc/osc_select_observer.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/osc/osc_select_observer.cc
b/libs/surfaces/osc/osc_select_observer.cc
index bcea1c078b75328df07f7fb4bdd7762fcdca0779..9473897820f7fee43244705bebb66d521b5e163b 100644
(file)
--- a/
libs/surfaces/osc/osc_select_observer.cc
+++ b/
libs/surfaces/osc/osc_select_observer.cc
@@
-484,7
+484,7
@@
OSCSelectObserver::gain_message (string path, boost::shared_ptr<Controllable> co
if (gainmode) {
lo_message_add_float (msg, gain_to_slider_position (controllable->get_value()));
if (gainmode) {
lo_message_add_float (msg, gain_to_slider_position (controllable->get_value()));
- text_message ("/select/name", to_string (accurate_coefficient_to_dB (controllable->get_value())));
+ text_message ("/select/name", to_string (accurate_coefficient_to_dB (controllable->get_value())
, std::dec
));
gain_timeout = 8;
} else {
if (controllable->get_value() < 1e-15) {
gain_timeout = 8;
} else {
if (controllable->get_value() < 1e-15) {
@@
-522,7
+522,7
@@
OSCSelectObserver::send_gain (uint32_t id, boost::shared_ptr<PBD::Controllable>
#else
value = gain_to_slider_position (controllable->get_value());
#endif
#else
value = gain_to_slider_position (controllable->get_value());
#endif
- text_with_id ("/select/send_name" , id + 1, to_string (db));
+ text_with_id ("/select/send_name" , id + 1, to_string (db
, std::dec
));
if (send_timeout.size() > id) {
send_timeout[id] = 8;
}
if (send_timeout.size() > id) {
send_timeout[id] = 8;
}