diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-08 13:21:05 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-08 13:21:05 +0000 |
commit | fa19e1a9d0b97233e130d301d906b3867a585950 (patch) | |
tree | 24d9e680073065545cc173ac0d0760d4f6fdc0eb /gtk2_ardour/note_player.h | |
parent | 33ffe733f1bb10c7a53951e2092443524545dc32 (diff) |
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
Diffstat (limited to 'gtk2_ardour/note_player.h')
-rw-r--r-- | gtk2_ardour/note_player.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/note_player.h b/gtk2_ardour/note_player.h index c39d352dd6..4a1df8c319 100644 --- a/gtk2_ardour/note_player.h +++ b/gtk2_ardour/note_player.h @@ -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 (); |