diff options
author | Tim E. Real <termtech@rogers.com> | 2011-09-01 20:44:18 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-09-01 20:44:18 +0000 |
commit | 538afdda358cc49cac4554c1ce24ad2f50383907 (patch) | |
tree | d8a8c240ee9b8aa604b5c0cbeab6748b1f74351a /muse2/muse/ctrl.h | |
parent | 1414d8185ca9bc0b078cff7512482f013e28bde3 (diff) |
Fixed tough old skeleton: Selecting 'previous/next event' in Song::execAutomationCtlPopup now
moves cursor with exact frame resolution.
Reverted controls to full speed (again): Removed too-cautious msgSetVolume, msgSetPan, msgSetPluginCtrlVal. Reviewing some other possibly unneeded too-cautious msgXXX audio messages :)
TODO: Fix current automation values (the 'off' value).
Removed unused PanKnob from mixer CMakeLists.
Diffstat (limited to 'muse2/muse/ctrl.h')
-rw-r--r-- | muse2/muse/ctrl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/ctrl.h b/muse2/muse/ctrl.h index 14f23643..ceae8d8a 100644 --- a/muse2/muse/ctrl.h +++ b/muse2/muse/ctrl.h @@ -104,7 +104,7 @@ class CtrlList : public std::map<int, CtrlVal, std::less<int> > { void setMode(Mode m) { _mode = m; } double getDefault() const { return _default; } void setDefault(double val) { _default = val; } - double curVal() const { return _curVal; } + double curVal() const; /* { return _curVal; } */ void setCurVal(double val); // { _curVal = val; } int id() const { return _id; } QString name() const { return _name; } @@ -120,7 +120,7 @@ class CtrlList : public std::map<int, CtrlVal, std::less<int> > { CtrlValueType valueType() const { return _valueType; } void setValueType(CtrlValueType t) { _valueType = t; } - double value(int frame); + double value(int frame) const; void add(int frame, double value); void del(int frame); void read(Xml& xml); |