From ece2bacb2c7d7f72b6a25a75760837efce0d5e30 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Tue, 14 Apr 2009 10:44:47 +0000 Subject: [PATCH] SMFSource: enhanced debugging output to reveal more of the problem git-svn-id: svn://localhost/ardour2/branches/3.0@4976 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/smf_source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index b3a6784d13..1af1efacae 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -186,7 +186,7 @@ SMFSource::write_unlocked (MidiRingBuffer& source, sframes_t position while (true) { bool ret = source.peek_time(&event_time); - g_debug ("event_time: %u, last_write_end: %lu, duration: %u", event_time, _last_write_end, duration); + g_debug ("position: %lu, event_time: %u, last_write_end: %lu, duration: %u", position, event_time, _last_write_end, duration); if (!ret || event_time > _last_write_end + duration) { if (!ret) g_debug ("peek failed"); if (event_time > _last_write_end + duration) g_debug ("event_time: %u > last_write_end: %lu + duration: %u", event_time, _last_write_end, duration);