mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Clean up and hopefully fix handling of logarithmic plugin parameters (fixes #3769).
git-svn-id: svn://localhost/ardour2/branches/3.0@8850 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4aaa507472
commit
ea11968f95
11 changed files with 105 additions and 107 deletions
|
|
@ -45,7 +45,18 @@ class Controllable : public PBD::StatefulDestructible {
|
|||
Controllable (const std::string& name, Flag f = Flag (0));
|
||||
virtual ~Controllable() { Destroyed (this); }
|
||||
|
||||
/* We express Controllable values in one of three ways:
|
||||
* 1. `user' --- as presented to the user (e.g. dB, Hz etc.)
|
||||
* 2. `UI' --- as used in some cases for the internal representation
|
||||
* of the UI. This may be the same as `user', or may be something
|
||||
* like the natural log of frequency in order that sliders operate
|
||||
* in a logarithmic fashion.
|
||||
* 3. `plugin' --- as passed to a plugin.
|
||||
*/
|
||||
|
||||
/** Set `user' value */
|
||||
virtual void set_value (double) = 0;
|
||||
/** @return `user' value */
|
||||
virtual double get_value (void) const = 0;
|
||||
|
||||
PBD::Signal0<void> LearningFinished;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue