# HG changeset patch # User Chris Cannam # Date 1181828970 0 # Node ID f0c47d8988bc77e1e971b5ebaa3681174e81a2c8 # Parent 152619d379e0b2e54ea85c910458519029e6d59a * Fix failure to play right to the end of files loaded from mp3 or ogg diff -r 152619d379e0 -r f0c47d8988bc audioio/AudioCallbackPlaySource.cpp --- 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; }