Home
last modified time | relevance | path

Searched refs:sineData (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h320 SineThreadedData_t *sineData = (SineThreadedData_t *) userData; in SimplePlayerDataCallbackProc() local
323 if (!sineData->sweepSetup && sineData->framesTotal >= sineData->prefixToneFrames) { in SimplePlayerDataCallbackProc()
324 sineData->setupSineSweeps(); in SimplePlayerDataCallbackProc()
327 if (sineData->hangTimeMSec > 0) { in SimplePlayerDataCallbackProc()
328 if (sineData->framesTotal > sineData->nextFrameToGlitch) { in SimplePlayerDataCallbackProc()
329 usleep(sineData->hangTimeMSec * 1000); in SimplePlayerDataCallbackProc()
331 (long long) sineData->framesTotal, in SimplePlayerDataCallbackProc()
332 sineData->hangTimeMSec); in SimplePlayerDataCallbackProc()
333 sineData->nextFrameToGlitch += FORCED_UNDERRUN_PERIOD_FRAMES; in SimplePlayerDataCallbackProc()
337 if (!sineData->schedulerChecked) { in SimplePlayerDataCallbackProc()
[all …]