Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/tests/
Daudiorouting_tests.cpp100 sp<OnAudioDeviceUpdateNotifier> cbCapture = sp<OnAudioDeviceUpdateNotifier>::make(); in TEST() local
101 EXPECT_EQ(OK, capture->getAudioRecordHandle()->addAudioDeviceCallback(cbCapture)); in TEST()
116 EXPECT_EQ(OK, cbCapture->waitForAudioDeviceCb()); in TEST()
Daudioeffect_analyser.cpp107 auto cbCapture = sp<OnAudioDeviceUpdateNotifier>::make(); in capture()
108 CHECK_OK(capture->getAudioRecordHandle()->addAudioDeviceCallback(cbCapture), in capture()
112 CHECK_OK(cbCapture->waitForAudioDeviceCb(), "audio device callback notification timed out"); in capture()