INNER CODE UNIT · C++

routingCallback

google/oboe · src/aaudio/AudioStreamAAudio.cpp:234

    auto routingCallback = oboeStream->getRoutingCallback();
    if (routingCallback == nullptr) return;
    routingCallback->onRoutingChanged(oboeStream, deviceIds, numDevices);
}

// Callback thread for raw pointers
static void oboe_aaudio_routing_changed_thread_proc(
        AudioStreamAAudio *oboeStream, std::vector<int32_t> deviceIds) {
    LOGD("%s() - entering >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", __func__);
    oboe_aaudio_routing_changed_thread_proc_common(oboeStream, deviceIds.data(),
                                                   static_cast<int32_t>(deviceIds.size()));
    LOGD("%s() - exiting <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<", __func__);
}

// Callback thread for shared pointers
static void oboe_aaudio_routing_changed_thread_proc_shared(
        std::shared_ptr<AudioStream> sharedStream,
        std::shared_ptr<AudioStream> sharedParentStream,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…