mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Merged with trunk R1010
git-svn-id: svn://localhost/ardour2/branches/midi@1011 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
22e41063d5
commit
af105afe6c
3 changed files with 5 additions and 27 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue