diff options
author | David Robillard <d@drobilla.net> | 2014-12-01 14:28:03 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-01 23:35:24 -0500 |
commit | 767c0238a34ef4acc4d345e88cd5ddb0c8a8e421 (patch) | |
tree | fed11fb6f4e4e08a7c35eb45f53aea70dc66e4f8 /libs/evoral/test | |
parent | cb8abbe8d2f0e4dfe52bd35613ebba7689628eca (diff) |
Replace half-baked param metadata with descriptor.
Among other things, this means that automation controls/lists have the actual
min/max/normal/toggled of parameters, and not those inferred from the Parameter
ID, which is not correct for things like plugin parameters.
Pushing things down to the Evoral::ParmeterDescriptor may be useful in the
future to have lists do smarter things based on parameter range, but currently
I have just pushed down the above-mentioned currently used attributes.
Diffstat (limited to 'libs/evoral/test')
-rw-r--r-- | libs/evoral/test/SequenceTest.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/evoral/test/SequenceTest.hpp b/libs/evoral/test/SequenceTest.hpp index 7b79d8fc12..a21e8c3408 100644 --- a/libs/evoral/test/SequenceTest.hpp +++ b/libs/evoral/test/SequenceTest.hpp @@ -39,14 +39,6 @@ public: }; } - bool is_integer (const Parameter& /*param*/) const { return true; } - - Parameter new_parameter(uint32_t type, uint8_t channel, uint32_t id) const { - Parameter p(type, channel, id); - p.set_range(type, 0.0f, 1.0f, 0.0f); - return p; - } - std::string to_symbol(const Parameter& /*param*/) const { return "control"; } }; |