diff options
author | David Robillard <d@drobilla.net> | 2014-12-30 14:41:22 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-30 14:41:22 -0500 |
commit | c35e94a3c83028220f6eb494fdfe9c1960aaf751 (patch) | |
tree | 2b73df60308f20be8436001b82cfb0be1acd28ee /libs/ardour/ardour/proxy_controllable.h | |
parent | a85827da1c9def35bcb4e43b657cdf0b1d728181 (diff) |
Fix some mangled whitespace (noop).
Diffstat (limited to 'libs/ardour/ardour/proxy_controllable.h')
-rw-r--r-- | libs/ardour/ardour/proxy_controllable.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/libs/ardour/ardour/proxy_controllable.h b/libs/ardour/ardour/proxy_controllable.h index 522c3a2794..b2f230ec87 100644 --- a/libs/ardour/ardour/proxy_controllable.h +++ b/libs/ardour/ardour/proxy_controllable.h @@ -40,17 +40,16 @@ public: , _getter (getter) {} - void set_value (double v) { if (_setter (v)) { Changed(); /* EMIT SIGNAL */ } } - double get_value () const { return _getter (); } + void set_value (double v) { if (_setter (v)) { Changed(); /* EMIT SIGNAL */ } } + double get_value () const { return _getter (); } - double internal_to_user (double i) const { return accurate_coefficient_to_dB (i);} - double user_to_internal (double u) const { return dB_to_coefficient(u) ;} + double internal_to_user (double i) const { return accurate_coefficient_to_dB (i);} + double user_to_internal (double u) const { return dB_to_coefficient(u) ;} - std::string get_user_string () const - { - char theBuf[32]; sprintf( theBuf, "%3.1f dB", accurate_coefficient_to_dB (get_value())); - return std::string(theBuf); - } + std::string get_user_string () const { + char theBuf[32]; sprintf( theBuf, "%3.1f dB", accurate_coefficient_to_dB (get_value())); + return std::string(theBuf); + } private: boost::function1<bool,double> _setter; |