ZDK
IAudioEndpointControl.h
1 #ifndef __IAUDIOENDPOINTCONTROL__
2 #define __IAUDIOENDPOINTCONTROL__
3 
4 #include "Types/AudioResampler.h"
5 #include "Types/AudioRoutingEndpoint.h"
6 #include "Types/AudioSourcePresetType.h"
7 #include "Types/AutomaticGainControlType.h"
8 #include "Types/EchoCancellationType.h"
9 #include "Types/HostAPI.h"
10 #include "IZHandle.h"
11 
12 namespace ZDK
13 {
14 
15 //# @abi(all) documentation
20 //# @abi(obj_c) skip_pool
21 class IAudioEndpointControl : public virtual ZDK::IZHandle
22 {
23 public:
24  //# @abi(all) documentation
31  //# @abi(jni|obj_c) property
32  virtual ZDK::AudioRoutingEndpoint AudioEndpoint() const = 0;
33 
34  //# @abi(all) documentation
41  //# @abi(jni|obj_c) property
42  virtual void AudioEndpoint(ZDK::AudioRoutingEndpoint value) = 0;
43 
44  //# @abi(all) documentation
54  //# @abi(jni|obj_c) property
55  virtual double MicLevel() = 0;
56 
57  //# @abi(all) documentation
67  //# @abi(jni|obj_c) property
68  virtual void MicLevel(double value) const = 0;
69 
70  //# @abi(all) documentation
83  //# @abi(jni|obj_c) property
84  virtual double OutputLevel() const = 0;
85 
86  //# @abi(all) documentation
99  //# @abi(jni|obj_c) property
100  virtual void OutputLevel(double value) = 0;
101 
102  //# @abi(all) documentation
115  //# @abi(jni|obj_c) property
116  virtual double RingLevel() const = 0;
117 
118  //# @abi(all) documentation
131  //# @abi(jni|obj_c) property
132  virtual void RingLevel(double value) = 0;
133 
134  //# @abi(all) documentation
143  //# @abi(jni|obj_c) property
144  virtual ZDK::EchoCancellationType EchoCancellation() const = 0;
145 
146  //# @abi(all) documentation
155  //# @abi(jni|obj_c) property
156  virtual void EchoCancellation(ZDK::EchoCancellationType value) = 0;
157 
158  //# @abi(all) documentation
172  //# @abi(jni|obj_c) property
173  virtual ZDK::AutomaticGainControlType AutomaticGainControl() const = 0;
174 
175  //# @abi(all) documentation
189  //# @abi(jni|obj_c) property
190  virtual void AutomaticGainControl(ZDK::AutomaticGainControlType value) = 0;
191 
192  //# @abi(all) documentation
201  //# @abi(jni|obj_c) property
202  virtual ZDK::AudioSourcePresetType AudioSourcePreset() const = 0;
203 
204  //# @abi(all) documentation
213  //# @abi(jni|obj_c) property
214  virtual void AudioSourcePreset(ZDK::AudioSourcePresetType value) = 0;
215 
216  //# @abi(all) documentation
225  virtual ZDK::Shared::Result HostApi(ZDK::HostAPI value) = 0;
226 
227  //# @abi(all) documentation
243  virtual ZDK::Shared::Result Resampler(ZDK::AudioResampler value) = 0;
244 };
245 
246 } //namespace ZDK
247 
248 #endif //__IAUDIOENDPOINTCONTROL__
Definition: IZHandle.h:12
virtual ZDK::Shared::Result HostApi(ZDK::HostAPI value)=0
Configures the audio host API to be used.
virtual double RingLevel() const =0
Gets the configured audio ringing level.
virtual ZDK::Shared::Result Resampler(ZDK::AudioResampler value)=0
Configures the audio resampler to be used.
virtual ZDK::AutomaticGainControlType AutomaticGainControl() const =0
Gets the configured Automatic Gain Control (AGC) filter working mode.
Audio endpoint's main entry point.
Definition: IAudioEndpointControl.h:21
virtual double MicLevel()=0
Gets the configured audio input/microphone level.
virtual ZDK::AudioSourcePresetType AudioSourcePreset() const =0
Gets the configured Audio Source Recorder Preset.
virtual ZDK::AudioRoutingEndpoint AudioEndpoint() const =0
Gets the configured audio routing endpoint to be used.
virtual double OutputLevel() const =0
Gets the configured audio output level.
Definition: IAccountConfig.h:10
virtual ZDK::EchoCancellationType EchoCancellation() const =0
Gets the configured acoustic echo cancellation working mode.