summaryrefslogtreecommitdiff
path: root/libs/ardour/amp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/amp.cc')
-rw-r--r--libs/ardour/amp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/amp.cc b/libs/ardour/amp.cc
index 200a29861e..bbbaa9b331 100644
--- a/libs/ardour/amp.cc
+++ b/libs/ardour/amp.cc
@@ -412,8 +412,8 @@ void
Amp::GainControl::set_value (double val)
{
// max gain at about +6dB (10.0 ^ ( 6 dB * 0.05))
- if (val > 1.99526231f) {
- val = 1.99526231f;
+ if (val > 1.99526231) {
+ val = 1.99526231;
}
_amp->set_gain (val, this);