Merged with trunk R1010

git-svn-id: svn://localhost/ardour2/branches/midi@1011 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2006-10-26 03:15:49 +00:00
parent 22e41063d5
commit af105afe6c
3 changed files with 5 additions and 27 deletions

View file

@ -263,7 +263,7 @@ SMFSource::read_event(MidiEvent& ev) const
assert(!feof(_fd));
int type = fgetc(_fd);
if ((unsigned char)type == 0x2F) {
cerr << "SMF - hit EOT" << endl;
//cerr << "SMF - hit EOT" << endl;
return -1; // we hit the logical EOF anyway...
} else {
ev.size = 0;
@ -290,7 +290,7 @@ SMFSource::read_event(MidiEvent& ev) const
jack_nframes_t
SMFSource::read_unlocked (MidiRingBuffer& dst, jack_nframes_t start, jack_nframes_t cnt, jack_nframes_t stamp_offset) const
{
//cerr << "SMF - read " << start << " -- " << cnt;
//cerr << "SMF - read " << start << ", count=" << cnt << ", offset=" << stamp_offset << endl;
jack_nframes_t time = 0;