summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/ControlList.hpp
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-04-05 11:16:04 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-04-05 11:16:04 +0000
commitbdde5da89bc9225815fe9a54e4ab39eb63574ac3 (patch)
tree86893f0498b4b183b7cf8861efb3b4f82919f91c /libs/evoral/evoral/ControlList.hpp
parent9036a12ffcf6e9fe9f90df8aae59c24e5e1b0787 (diff)
make automation thinning factor controllable at run time
git-svn-id: svn://localhost/ardour2/branches/3.0@11795 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/evoral/ControlList.hpp')
-rw-r--r--libs/evoral/evoral/ControlList.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp
index 368717bb1f..01e0f8c1fb 100644
--- a/libs/evoral/evoral/ControlList.hpp
+++ b/libs/evoral/evoral/ControlList.hpp
@@ -246,6 +246,9 @@ public:
/** Emitted when our interpolation style changes */
PBD::Signal1<void, InterpolationStyle> InterpolationChanged;
+ static void set_thinning_factor (double d);
+ static double thinning_factor() { return _thinning_factor; }
+
protected:
/** Called by unlocked_eval() to handle cases of 3 or more control points. */
@@ -288,6 +291,7 @@ protected:
};
std::list<NascentInfo*> nascent;
+ static double _thinning_factor;
};
} // namespace Evoral