Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_timestamps.cpp113 TimestampCallbackData_t *timestampData = (TimestampCallbackData_t *) userData; in timestampDataCallbackProc() local
117 timestampData->framesTotal += numFrames; in timestampDataCallbackProc()
120 if (timestampData->forceUnderruns) { in timestampDataCallbackProc()
121 if (timestampData->framesTotal > timestampData->nextFrameToGlitch) { in timestampDataCallbackProc()
123 printf("Simulate glitch at %lld\n", (long long) timestampData->framesTotal); in timestampDataCallbackProc()
124 timestampData->nextFrameToGlitch += FORCED_UNDERRUN_PERIOD_FRAMES; in timestampDataCallbackProc()
128 if (timestampData->timestampCount < MAX_TIMESTAMPS) { in timestampDataCallbackProc()
129 TimestampInfo *timestamp = &timestampData->timestamps[timestampData->timestampCount]; in timestampDataCallbackProc()
134 timestamp->framesTotal = timestampData->framesTotal; in timestampDataCallbackProc()
139 timestampData->timestampCount++; in timestampDataCallbackProc()
[all …]