changeset 152:f0c47d8988bc

* Fix failure to play right to the end of files loaded from mp3 or ogg
author Chris Cannam
date Thu, 14 Jun 2007 13:49:30 +0000
parents 152619d379e0
children d2cc3b10e26f
files audioio/AudioCallbackPlaySource.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.cpp	Wed Jun 13 12:00:01 2007 +0000
+++ b/audioio/AudioCallbackPlaySource.cpp	Thu Jun 14 13:49:30 2007 +0000
@@ -223,7 +223,9 @@
 void
 AudioCallbackPlaySource::modelChanged(size_t startFrame, size_t endFrame)
 {
-//    std::cerr << "AudioCallbackPlaySource::modelChanged(" << startFrame << "," << endFrame << ")" << std::endl;
+#ifdef DEBUG_AUDIO_PLAY_SOURCE
+    std::cerr << "AudioCallbackPlaySource::modelChanged(" << startFrame << "," << endFrame << ")" << std::endl;
+#endif
     if (endFrame > m_lastModelEndFrame) m_lastModelEndFrame = endFrame;
 }