Split MidiModel::Note out to ARDOUR::Note in it's own file (midi_model.h was getting fat).

Initial work on MidiModel iterator.


git-svn-id: svn://localhost/ardour2/trunk@2355 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2007-08-28 17:48:37 +00:00
parent 23949886e6
commit 056b2a59d5
17 changed files with 375 additions and 120 deletions

View file

@ -398,7 +398,7 @@ SMFSource::write_unlocked (MidiRingBuffer& src, nframes_t cnt)
size_t buf_capacity = 4;
Byte* buf = (Byte*)malloc(buf_capacity);
if (_model && ! _model->currently_writing())
if (_model && ! _model->writing())
_model->start_write();
while (true) {