13
0
git-svn-id: svn://localhost/ardour2/branches/3.0@5040 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-05-04 20:00:18 +00:00
parent 5513632422
commit da8cf83b72

View File

@ -186,11 +186,7 @@ SMFSource::write_unlocked (MidiRingBuffer<nframes_t>& source, sframes_t position
while (true) {
bool ret = source.peek_time(&time);
g_debug ("time: %u, last_write_end: %lu, duration: %u", time, _last_write_end, duration);
if (!ret || time > _last_write_end + duration) {
if (!ret) g_debug ("peek failed");
if (time > _last_write_end + duration) g_debug ("time: %u > last_write_end: %lu + duration: %u", time, _last_write_end, duration);
break;
}