diff options
author | David Robillard <d@drobilla.net> | 2008-09-29 22:47:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-29 22:47:40 +0000 |
commit | b5ec66ae6cb60fa43c343d3d29340b2370d0b9d1 (patch) | |
tree | 217722d96b61288f44477c69ac3bbe5d2e7d43f1 /libs/evoral/src/Sequence.cpp | |
parent | 03f188cc8b17edc7c727f62b22b4577a2fdbfbe8 (diff) |
Can't call the wrong function when there's only one of them: remove ARDOUR::Parameter and just use Evoral::Parameter (move Ardour specific functionality to EventTypeMap where it belongs).
Less than pretty in places but easily seddable just in case...
git-svn-id: svn://localhost/ardour2/branches/3.0@3838 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/src/Sequence.cpp')
-rw-r--r-- | libs/evoral/src/Sequence.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/evoral/src/Sequence.cpp b/libs/evoral/src/Sequence.cpp index 1facd6761e..3980f46ae2 100644 --- a/libs/evoral/src/Sequence.cpp +++ b/libs/evoral/src/Sequence.cpp @@ -92,7 +92,7 @@ Sequence::const_iterator::const_iterator(const Sequence& seq, EventTime t) // find the earliest control event available for (Controls::const_iterator i = seq._controls.begin(); i != seq._controls.end(); ++i) { - debugout << "Iterator: control: " << i->first.symbol() << endl; + debugout << "Iterator: control: " << seq._type_map.to_symbol(i->first) << endl; double x, y; bool ret = i->second->list()->rt_safe_earliest_event_unlocked(t, DBL_MAX, x, y); if (!ret) { @@ -628,7 +628,7 @@ Sequence::append_note_off_unlocked(uint8_t chan, EventTime time, uint8_t note_nu void Sequence::append_control_unlocked(const Parameter& param, EventTime time, double value) { - debugout << this << " " << param.symbol() << " @ " << time << " \t= \t" << value + debugout << this << " " << _type_map.to_symbol(param) << " @ " << time << " \t= \t" << value << " # controls: " << _controls.size() << endl; control(param, true)->list()->rt_add(time, value); } |