diff audioio/AudioCallbackPlaySource.cpp @ 96:e177e6ee7c12 sv1-v1.2pre5

* PortAudio playback fixes
author Chris Cannam
date Wed, 13 Feb 2008 15:49:26 +0000
parents 9cc9862333bd
children cd5cbdecc82d
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.cpp	Tue Feb 12 14:48:00 2008 +0000
+++ b/audioio/AudioCallbackPlaySource.cpp	Wed Feb 13 15:49:26 2008 +0000
@@ -709,6 +709,7 @@
     if (!looping) {
         if (inRange == m_rangeStarts.size()-1 &&
             playing_t >= m_rangeStarts[inRange] + m_rangeDurations[inRange]) {
+std::cerr << "Not looping, inRange " << inRange << " == rangeStarts.size()-1, playing_t " << playing_t << " >= m_rangeStarts[inRange] " << m_rangeStarts[inRange] << " + m_rangeDurations[inRange] " << m_rangeDurations[inRange] << " -- stopping" << std::endl;
             stop();
         }
     }