much ado about nothing when it comes to gain control

git-svn-id: svn://localhost/ardour2/branches/3.0@9748 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-06-19 23:02:55 +00:00
parent 182b23e744
commit d5e09076ca
23 changed files with 211 additions and 122 deletions

View file

@ -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); }
}