comparison audioio/AudioCallbackPlaySource.cpp @ 176:d8017c8859eb

...
author Chris Cannam
date Thu, 16 Jul 2009 13:57:18 +0000
parents e109e432b5c5
children 7dae51741cc9
comparison
equal deleted inserted replaced
175:366f044c20e4 176:d8017c8859eb
717 // std::cerr << "playing_t " << playing_t << " < playstart_t " 717 // std::cerr << "playing_t " << playing_t << " < playstart_t "
718 // << playstart_t << std::endl; 718 // << playstart_t << std::endl;
719 if (/*!!! sincerequest_t > RealTime::zeroTime && */ 719 if (/*!!! sincerequest_t > RealTime::zeroTime && */
720 m_playStartedAt + latency_t + stretchlat_t < 720 m_playStartedAt + latency_t + stretchlat_t <
721 RealTime::fromSeconds(currentTime)) { 721 RealTime::fromSeconds(currentTime)) {
722 std::cerr << "but we've been playing for long enough that I think we should disregard it (it probably results from loop wrapping)" << std::endl; 722 // std::cerr << "but we've been playing for long enough that I think we should disregard it (it probably results from loop wrapping)" << std::endl;
723 m_playStartFramePassed = true; 723 m_playStartFramePassed = true;
724 } else { 724 } else {
725 playing_t = playstart_t; 725 playing_t = playstart_t;
726 } 726 }
727 } else { 727 } else {