diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-05 15:13:59 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-05 15:13:59 -0400 |
commit | a83305169a8c5b8e5309ebcc0d7eb0c8a87025e2 (patch) | |
tree | e42bad2123af93fc9247d01c7faed136fe4f8324 | |
parent | 2fb0a078d9a2ed1187ca19dcbb42fd9cb31e0ec4 (diff) |
fix ambiguous use of pow()
-rw-r--r-- | libs/ardour/audioengine.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 3a7b4f910a..116b99085b 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -419,7 +419,7 @@ AudioEngine::reset_silence_countdown () sr = sample_rate(); _silence_countdown = max (60 * sr, /* 60 seconds */ - sr * (SILENCE_AFTER_SECONDS / pow (2, _silence_hit_cnt))); + sr * (SILENCE_AFTER_SECONDS / ::pow (2.0, (double) _silence_hit_cnt))); #endif } |