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 #ifndef LOG_TAG
16 #define LOG_TAG "AudioCapturerProxyObj"
17 #endif
18 
19 #include "audio_capturer_proxy_obj.h"
20 #include "audio_capturer_log.h"
21 
22 using namespace std;
23 
24 namespace OHOS {
25 namespace AudioStandard {
SaveCapturerObj(const AudioCapturer * capturerObj)26 void AudioCapturerProxyObj::SaveCapturerObj(const AudioCapturer *capturerObj)
27 {
28     capturer = capturerObj;
29 }
30 
31 
PausedStreamImpl(const StreamSetStateEventInternal & streamSetStateEventInternal)32 void AudioCapturerProxyObj::PausedStreamImpl(const StreamSetStateEventInternal &streamSetStateEventInternal)
33 {
34 }
35 
ResumeStreamImpl(const StreamSetStateEventInternal & streamSetStateEventInternal)36 void AudioCapturerProxyObj::ResumeStreamImpl(const StreamSetStateEventInternal &streamSetStateEventInternal)
37 {
38 }
39 
SetLowPowerVolumeImpl(float volume)40 void AudioCapturerProxyObj::SetLowPowerVolumeImpl(float volume)
41 {
42 }
43 
GetLowPowerVolumeImpl(float & volume)44 void AudioCapturerProxyObj::GetLowPowerVolumeImpl(float &volume)
45 {
46     volume = 1.0;
47 }
48 
GetSingleStreamVolumeImpl(float & volume)49 void AudioCapturerProxyObj::GetSingleStreamVolumeImpl(float &volume)
50 {
51     volume = 0;
52 }
53 } // namespace AudioStandard
54 } // namespace OHOS
55