Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_open_params.cpp73 AAudioStreamBuilder *aaudioBuilder = nullptr; in testOpenOptions() local
80 ASSERT_EQ(AAUDIO_OK, AAudio_createStreamBuilder(&aaudioBuilder)); in testOpenOptions()
83 AAudioStreamBuilder_setDirection(aaudioBuilder, direction); in testOpenOptions()
84 AAudioStreamBuilder_setSampleRate(aaudioBuilder, sampleRate); in testOpenOptions()
85 AAudioStreamBuilder_setChannelCount(aaudioBuilder, channelCount); in testOpenOptions()
86 AAudioStreamBuilder_setFormat(aaudioBuilder, format); in testOpenOptions()
87 AAudioStreamBuilder_setDataCallback(aaudioBuilder, MyDataCallbackProc, nullptr); in testOpenOptions()
90 AAudioStreamBuilder_setPerformanceMode(aaudioBuilder, AAUDIO_PERFORMANCE_MODE_LOW_LATENCY); in testOpenOptions()
94 result = AAudioStreamBuilder_openStream(aaudioBuilder, &aaudioStream); in testOpenOptions()
130 AAudioStreamBuilder_delete(aaudioBuilder); in testOpenOptions()