projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change Control::{set,get}_float to Control::{set,get}_double and make almost all...
[ardour.git]
/
libs
/
ardour
/
route.cc
diff --git
a/libs/ardour/route.cc
b/libs/ardour/route.cc
index 1d8f3ca18e671611d9cfa33cccd2c067c8c95372..2dc19fbf0b83dc549bf79f2ef96b82d18040ab22 100644
(file)
--- a/
libs/ardour/route.cc
+++ b/
libs/ardour/route.cc
@@
-3018,7
+3018,7
@@
Route::SoloControllable::SoloControllable (std::string name, Route& r)
}
void
}
void
-Route::SoloControllable::set_value (
float
val)
+Route::SoloControllable::set_value (
double
val)
{
bool bval = ((val >= 0.5f) ? true: false);
# if 0
{
bool bval = ((val >= 0.5f) ? true: false);
# if 0
@@
-3037,7
+3037,7
@@
Route::SoloControllable::set_value (float val)
#endif
}
#endif
}
-float
+double
Route::SoloControllable::get_value (void) const
{
if (Config->get_solo_control_is_listen_control()) {
Route::SoloControllable::get_value (void) const
{
if (Config->get_solo_control_is_listen_control()) {
@@
-3057,7
+3057,7
@@
Route::MuteControllable::MuteControllable (std::string name, Route& r)
}
void
}
void
-Route::MuteControllable::set_value (
float
val)
+Route::MuteControllable::set_value (
double
val)
{
bool bval = ((val >= 0.5f) ? true: false);
# if 0
{
bool bval = ((val >= 0.5f) ? true: false);
# if 0
@@
-3071,7
+3071,7
@@
Route::MuteControllable::set_value (float val)
#endif
}
#endif
}
-float
+double
Route::MuteControllable::get_value (void) const
{
return route.muted() ? 1.0f : 0.0f;
Route::MuteControllable::get_value (void) const
{
return route.muted() ? 1.0f : 0.0f;