Fix problem with notes occasionally not showing up at all.

git-svn-id: svn://localhost/ardour2/trunk@2919 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard
2008-01-15 03:32:51 +00:00
parent c4cec60d8f
commit b2e3b18dab
3 changed files with 6 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ using namespace PBD;
MidiTrack::MidiTrack (Session& sess, string name, Route::Flag flag, TrackMode mode)
: Track (sess, name, flag, mode, DataType::MIDI)
, _immediate_events(1024) // FIXME: size?
, _note_mode(Sustained)
{
MidiDiskstream::Flag dflags = MidiDiskstream::Flag (0);