comparison audioio/AudioCallbackPlaySource.cpp @ 189:017206f2e4c5 sv-v1.7.2

* Pop view progress bars back into "indeterminate" mode if they are not updated for a couple of seconds (useful for plugins with very active getRemainingFeatures())
author Chris Cannam
date Fri, 12 Mar 2010 15:34:18 +0000
parents 7dae51741cc9
children 0b3aa9b702bb
comparison
equal deleted inserted replaced
188:32c13c46abd6 189:017206f2e4c5
392 std::cerr << "play(" << startFrame << ") -> playback model "; 392 std::cerr << "play(" << startFrame << ") -> playback model ";
393 #endif 393 #endif
394 394
395 startFrame = m_viewManager->alignReferenceToPlaybackFrame(startFrame); 395 startFrame = m_viewManager->alignReferenceToPlaybackFrame(startFrame);
396 396
397 #ifdef DEBUG_AUDIO_PLAY_SOURCE
397 std::cerr << startFrame << std::endl; 398 std::cerr << startFrame << std::endl;
399 #endif
398 400
399 // The fill thread will automatically empty its buffers before 401 // The fill thread will automatically empty its buffers before
400 // starting again if we have not so far been playing, but not if 402 // starting again if we have not so far been playing, but not if
401 // we're just re-seeking. 403 // we're just re-seeking.
402 // NO -- we can end up playing some first -- always reset here 404 // NO -- we can end up playing some first -- always reset here