Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h355 SineThreadedData_t *sineData = (SineThreadedData_t *) userData; in SimplePlayerDataCallbackProc() local
357 if (sineData->cpuAffinity >= 0) { in SimplePlayerDataCallbackProc()
358 setCpuAffinity(sineData->cpuAffinity); in SimplePlayerDataCallbackProc()
359 sineData->cpuAffinity = -1; in SimplePlayerDataCallbackProc()
362 if (!sineData->sweepSetup && sineData->framesTotal >= sineData->prefixToneFrames) { in SimplePlayerDataCallbackProc()
363 sineData->setupSineSweeps(); in SimplePlayerDataCallbackProc()
366 if (sineData->hangTimeMSec > 0) { in SimplePlayerDataCallbackProc()
367 if (sineData->framesTotal > sineData->nextFrameToGlitch) { in SimplePlayerDataCallbackProc()
368 usleep(sineData->hangTimeMSec * 1000); in SimplePlayerDataCallbackProc()
370 (long long) sineData->framesTotal, in SimplePlayerDataCallbackProc()
[all …]