1 /* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #include "audio_capturer_proxy_obj.h" 17 #include "audio_log.h" 18 19 using namespace std; 20 21 namespace OHOS { 22 namespace AudioStandard { SaveCapturerObj(const AudioCapturer * capturerObj)23void AudioCapturerProxyObj::SaveCapturerObj(const AudioCapturer *capturerObj) 24 { 25 capturer = capturerObj; 26 } 27 28 PausedStreamImpl(const StreamSetStateEventInternal & streamSetStateEventInternal)29void AudioCapturerProxyObj::PausedStreamImpl(const StreamSetStateEventInternal &streamSetStateEventInternal) 30 { 31 AUDIO_INFO_LOG("AudioCapturerProxyObj::PausedStreamImpl"); 32 } 33 ResumeStreamImpl(const StreamSetStateEventInternal & streamSetStateEventInternal)34void AudioCapturerProxyObj::ResumeStreamImpl(const StreamSetStateEventInternal &streamSetStateEventInternal) 35 { 36 AUDIO_INFO_LOG("AudioCapturerProxyObj::ResumeStreamImpl"); 37 } 38 SetLowPowerVolumeImpl(float volume)39void AudioCapturerProxyObj::SetLowPowerVolumeImpl(float volume) 40 { 41 } 42 GetLowPowerVolumeImpl(float & volume)43void AudioCapturerProxyObj::GetLowPowerVolumeImpl(float &volume) 44 { 45 volume = 1.0; 46 } 47 GetSingleStreamVolumeImpl(float & volume)48void AudioCapturerProxyObj::GetSingleStreamVolumeImpl(float &volume) 49 { 50 volume = 0; 51 } 52 } // namespace AudioStandard 53 } // namespace OHOS 54