Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_bad_disconnect.cpp43 AudioEngine s_AudioEngine; variable
55 s_AudioEngine.framesRead = AAudioStream_getFramesRead(stream); in s_myDataCallbackProc()
64 aaudio_result_t result = AAudio_createStreamBuilder(&s_AudioEngine.builder); in s_StartAudio()
72 AAudioStreamBuilder_setFormat(s_AudioEngine.builder, AAUDIO_FORMAT_PCM_FLOAT); in s_StartAudio()
73 …AAudioStreamBuilder_setPerformanceMode(s_AudioEngine.builder, AAUDIO_PERFORMANCE_MODE_LOW_LATENCY); in s_StartAudio()
74 AAudioStreamBuilder_setDataCallback(s_AudioEngine.builder, s_myDataCallbackProc, nullptr); in s_StartAudio()
75 AAudioStreamBuilder_setErrorCallback(s_AudioEngine.builder, s_myErrorCallbackProc, nullptr); in s_StartAudio()
78 result = AAudioStreamBuilder_openStream(s_AudioEngine.builder, &s_AudioEngine.stream); in s_StartAudio()
85 result = AAudioStream_requestStart(s_AudioEngine.stream); in s_StartAudio()
92 deviceId = AAudioStream_getDeviceId(s_AudioEngine.stream); in s_StartAudio()
[all …]