INNER CODE UNIT · C++
presentationCallback
google/oboe · src/aaudio/AudioStreamAAudio.cpp:210
auto presentationCallback = oboeStream->getPresentationCallback();
if (presentationCallback == nullptr) return; // should be impossible
presentationCallback->onPresentationEnded(oboeStream);
}
// Callback thread for raw pointers
static void oboe_aaudio_presentation_thread_proc(AudioStreamAAudio *oboeStream) {
LOGD("%s() - entering >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", __func__);
oboe_aaudio_presentation_thread_proc_common(oboeStream);
LOGD("%s() - exiting <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<", __func__);
}
// Callback thread for shared pointers
static void oboe_aaudio_presentation_end_thread_proc_shared(
std::shared_ptr<AudioStream> sharedStream,
std::shared_ptr<AudioStream> sharedParentStream) {
LOGD("%s() - entering >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", __func__);
AudioStreamAAudio *oboeStream = reinterpret_cast<AudioStreamAAudio*>(sharedStream.get());