13
0

Remove old "user" API, use consistent get/set_double()

This commit is contained in:
Robin Gareus 2022-06-29 01:18:52 +02:00
parent 09e8ba00c2
commit ca49bc00f0
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -55,14 +55,6 @@ public:
virtual ~Control() {}
virtual void set_double (double val, Temporal::timepos_t const & when = Temporal::timepos_t (), bool to_list = false);
/** Get the latest user-set value
* (which may not equal get_value() when automation is playing back).
*
* Automation write/touch works by periodically sampling this value
* and adding it to the ControlList.
*/
double user_double() const { return _user_value; }
virtual double get_double () const { return _user_value; }
void set_list(boost::shared_ptr<ControlList>);