Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/
H A Daudio_capturer.cpp53 …_ptr<InputDeviceChangeWithInfoCallbackImpl> inputDeviceChangeCallback = inputDeviceChangeCallback_; in ~AudioCapturerPrivate()
307 if (!inputDeviceChangeCallback_) { in InitInputDeviceChangeCallback()
308 inputDeviceChangeCallback_ = std::make_shared<InputDeviceChangeWithInfoCallbackImpl>(); in InitInputDeviceChangeCallback()
309 …CHECK_AND_RETURN_RET_LOG(inputDeviceChangeCallback_ != nullptr, ERROR, "Memory allocation failed"); in InitInputDeviceChangeCallback()
312 inputDeviceChangeCallback_->SetAudioCapturerObj(this); in InitInputDeviceChangeCallback()
319 inputDeviceChangeCallback_); in InitInputDeviceChangeCallback()
844 inputDeviceChangeCallback_); in SetCaptureMode()
1205 inputDeviceChangeCallback_); in SwitchStream()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/include/
H A Daudio_capturer_private.h138 std::shared_ptr<InputDeviceChangeWithInfoCallbackImpl> inputDeviceChangeCallback_ = nullptr; variable