Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/
H A Daudio_renderer.cpp68 …r<OutputDeviceChangeWithInfoCallbackImpl> outputDeviceChangeCallback = outputDeviceChangeCallback_; in ~AudioRendererPrivate()
293 if (!outputDeviceChangeCallback_) { in InitOutputDeviceChangeCallback()
294 outputDeviceChangeCallback_ = std::make_shared<OutputDeviceChangeWithInfoCallbackImpl>(); in InitOutputDeviceChangeCallback()
295 …CHECK_AND_RETURN_RET_LOG(outputDeviceChangeCallback_ != nullptr, ERROR, "Memory allocation failed"… in InitOutputDeviceChangeCallback()
298 outputDeviceChangeCallback_->SetAudioRendererObj(this); in InitOutputDeviceChangeCallback()
306 outputDeviceChangeCallback_); in InitOutputDeviceChangeCallback()
1131 outputDeviceChangeCallback_); in SetRenderMode()
1340 outputDeviceChangeCallback_->SaveCallback(callback); in RegisterOutputDeviceChangeWithInfoCallback()
1349 outputDeviceChangeCallback_->RemoveCallback(); in UnregisterOutputDeviceChangeWithInfoCallback()
1358 outputDeviceChangeCallback_->RemoveCallback(callback); in UnregisterOutputDeviceChangeWithInfoCallback()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/include/
H A Daudio_renderer_private.h213 std::shared_ptr<OutputDeviceChangeWithInfoCallbackImpl> outputDeviceChangeCallback_ = nullptr; variable