summaryrefslogtreecommitdiff
path: root/libs/ardour/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r--libs/ardour/utils.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index 0e1b06b1a7..4175322bb6 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -672,6 +672,18 @@ how_many_dsp_threads ()
return num_threads;
}
+double gain_to_slider_position_with_max (double g, double max_gain)
+{
+ /* max gain is ignored for now */
+ return gain_to_slider_position (g);
+}
+
+double slider_position_to_gain_with_max (double g, double max_gain)
+{
+ /* max gain is ignored for now */
+ return slider_position_to_gain (g);
+}
+
extern "C" {
void c_stacktrace() { stacktrace (cerr); }
}