Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/
H A Daudio_renderer.cpp68 …std::shared_ptr<OutputDeviceChangeWithInfoCallbackImpl> outputDeviceChangeCallback = outputDeviceC… in ~AudioRendererPrivate() local
69 if (outputDeviceChangeCallback != nullptr) { in ~AudioRendererPrivate()
70 outputDeviceChangeCallback->RemoveCallback(); in ~AudioRendererPrivate()
71 outputDeviceChangeCallback->UnsetAudioRendererObj(); in ~AudioRendererPrivate()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-audio-kit/
H A Djs-apis-audio.md7757 let outputDeviceChangeCallback = (deviceInfo: audio.AudioDeviceDescriptors) => {
7763 audioRenderer.on('outputDeviceChange', outputDeviceChangeCallback);
7765 audioRenderer.off('outputDeviceChange', outputDeviceChangeCallback);
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/
H A Djs-apis-audio.md7760 let outputDeviceChangeCallback = (deviceInfo: audio.AudioDeviceDescriptors) => {
7766 audioRenderer.on('outputDeviceChange', outputDeviceChangeCallback);
7768 audioRenderer.off('outputDeviceChange', outputDeviceChangeCallback);