When sounding notes on selection / note movements, play the note for as long as the mouse button is held down (#4574).

git-svn-id: svn://localhost/ardour2/branches/3.0@12606 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-06-08 13:21:05 +00:00
parent 33ffe733f1
commit fa19e1a9d0
5 changed files with 78 additions and 16 deletions

View file

@ -34,10 +34,11 @@ public:
typedef Evoral::Note<Evoral::MusicalTime> NoteType;
NotePlayer (boost::shared_ptr<ARDOUR::MidiTrack>);
~NotePlayer () {}
~NotePlayer ();
void add (boost::shared_ptr<NoteType>);
void play ();
void on ();
void off ();
void clear ();