diff options
Diffstat (limited to 'libs/evoral/src/ControlSet.cpp')
-rw-r--r-- | libs/evoral/src/ControlSet.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/evoral/src/ControlSet.cpp b/libs/evoral/src/ControlSet.cpp index cc8d7c60a7..f5a16057aa 100644 --- a/libs/evoral/src/ControlSet.cpp +++ b/libs/evoral/src/ControlSet.cpp @@ -74,6 +74,8 @@ ControlSet::control (const Parameter& parameter, bool create_if_missing) { Controls::iterator i = _controls.find(parameter); + cerr << "Look for " << parameter << endl; + if (i != _controls.end()) { return i->second; @@ -103,3 +105,11 @@ ControlSet::clear_controls () } } // namespace Evoral + +/* No good place for this so just put it here */ + +std::ostream& +std::operator<< (std::ostream & str, Evoral::Parameter const & p) +{ + return str << p.type() << '-' << p.id() << '-' << (int) p.channel(); +} |