Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp335 LoopbackData loopbackData; in main() local
385 loopbackData.audioRecorder.allocate(NUM_SECONDS * SAMPLE_RATE); in main()
409 result = AAudioStreamBuilder_openStream(builder, &loopbackData.inputStream); in main()
421 AAudioStreamBuilder_setDataCallback(builder, MyDataCallbackProc, &loopbackData); in main()
431 loopbackData.actualInputChannelCount = AAudioStream_getChannelCount(loopbackData.inputStream); in main()
433 loopbackData.actualInputChannelCount); in main()
434 printf(" framesPerBurst = %d\n", AAudioStream_getFramesPerBurst(loopbackData.inputStream)); in main()
436 actualInputFormat = AAudioStream_getFormat(loopbackData.inputStream); in main()
445 loopbackData.actualOutputChannelCount = AAudioStream_getChannelCount(outputStream); in main()
447 loopbackData.actualOutputChannelCount); in main()
[all …]