ZDK
|
Audio endpoint's main entry point. More...
#include <IAudioEndpointControl.h>
Public Member Functions | |
virtual ZDK::AudioRoutingEndpoint | AudioEndpoint () const =0 |
Gets the configured audio routing endpoint to be used. More... | |
virtual void | AudioEndpoint (ZDK::AudioRoutingEndpoint value)=0 |
Configures the audio routing endpoint to be used. More... | |
virtual double | MicLevel ()=0 |
Gets the configured audio input/microphone level. More... | |
virtual void | MicLevel (double value) const =0 |
Configures the audio input/microphone level. More... | |
virtual double | OutputLevel () const =0 |
Gets the configured audio output level. More... | |
virtual void | OutputLevel (double value)=0 |
Configures the audio output level. More... | |
virtual double | RingLevel () const =0 |
Gets the configured audio ringing level. More... | |
virtual void | RingLevel (double value)=0 |
Configures the audio ringing level. More... | |
virtual ZDK::EchoCancellationType | EchoCancellation () const =0 |
Gets the configured acoustic echo cancellation working mode. More... | |
virtual void | EchoCancellation (ZDK::EchoCancellationType value)=0 |
Configures the acoustic echo cancellation working mode. More... | |
virtual ZDK::AutomaticGainControlType | AutomaticGainControl () const =0 |
Gets the configured Automatic Gain Control (AGC) filter working mode. More... | |
virtual void | AutomaticGainControl (ZDK::AutomaticGainControlType value)=0 |
Configures the Automatic Gain Control (AGC) filter working mode. More... | |
virtual ZDK::AudioSourcePresetType | AudioSourcePreset () const =0 |
Gets the configured Audio Source Recorder Preset. More... | |
virtual void | AudioSourcePreset (ZDK::AudioSourcePresetType value)=0 |
Configures the Audio Source Recorder Preset. More... | |
virtual ZDK::Shared::Result | HostApi (ZDK::HostAPI value)=0 |
Configures the audio host API to be used. More... | |
virtual ZDK::Shared::Result | Resampler (ZDK::AudioResampler value)=0 |
Configures the audio resampler to be used. More... | |
Public Member Functions inherited from ZDK::IZHandle | |
virtual ZDK::ZDKHandle | Handle () const =0 |
virtual | operator ZDK::ZDKHandle () const =0 |
virtual void | Initialize ()=0 |
virtual void | ReleaseReference ()=0 |
Audio endpoint's main entry point.
Entry point for controlling the audio endpoint
|
pure virtual |
Gets the configured audio routing endpoint to be used.
|
pure virtual |
Configures the audio routing endpoint to be used.
[in] | value | The audio routing endpoint |
|
pure virtual |
Gets the configured Audio Source Recorder Preset.
Currently used only for Android's OpenSLES, but this can change in the future.
|
pure virtual |
Configures the Audio Source Recorder Preset.
Currently used only for Android's OpenSLES, but this can change in the future.
[in] | value | The audio source preset |
|
pure virtual |
Gets the configured Automatic Gain Control (AGC) filter working mode.
Works on all platforms. For Desktop platforms the AGC includes both analog and digital adaptive control by controlling the analog gain for the microphone device. For mobile platforms only an adaptive digital gain is applied to the audio coming from the microphone.
The GUI is advised to bar the user from manipulating the hardware gain of the microphone. The GUI can also poll the audio input level via GetAudioInputLevel() once or twice a second.
|
pure virtual |
Configures the Automatic Gain Control (AGC) filter working mode.
Works on all platforms. For Desktop platforms the AGC includes both analog and digital adaptive control by controlling the analog gain for the microphone device. For mobile platforms only an adaptive digital gain is applied to the audio coming from the microphone.
The GUI is advised to bar the user from manipulating the hardware gain of the microphone. The GUI can also poll the audio input level via GetAudioInputLevel() once or twice a second.
[in] | value | The AGC mode |
|
pure virtual |
Gets the configured acoustic echo cancellation working mode.
Default is enabled in software mode.
|
pure virtual |
Configures the acoustic echo cancellation working mode.
Default is enabled in software mode.
[in] | value | The acoustic echo cancellation mode |
|
pure virtual |
Configures the audio host API to be used.
[in] | value | The host API |
|
pure virtual |
Gets the configured audio input/microphone level.
The volume setting for the input device. Values are between 0.0 (muted) and 1.0 (maximum volume). This is not the measured energy of the input samples.
|
pure virtual |
Configures the audio input/microphone level.
The volume setting for the input device. Values are between 0.0 (muted) and 1.0 (maximum volume). This is not the measured energy of the input samples.
[in] | value | The volume setting for the input device between 0.0 and 1.0 |
|
pure virtual |
Gets the configured audio output level.
The volume setting for the input device. Values are between 0.0 (muted) and 1.0 (maximum volume). This is not the measured energy of the output samples.
In many cases the ringing device and the output device are the same, so chaning one level will also change and the other.
|
pure virtual |
Configures the audio output level.
The volume setting for the input device. Values are between 0.0 (muted) and 1.0 (maximum volume). This is not the measured energy of the output samples.
In many cases the ringing device and the output device are the same, so chaning one level will also change and the other.
[in] | value | The volume setting for the output device between 0.0 and 1.0 |
|
pure virtual |
Configures the audio resampler to be used.
Selects the resampler to be used by the audio engine. In most cases the native sampling rate of the audio hardware will not match the sampling rate of the active VoIP call. In this case a resampler is employed to do sample rate conversion. Different methods produce different quality and use algorithms of different complexity resulting in different CPU usage. In some cases the resampler cannot be selected.
The default behavior is the audio driver select the reampler.
[in] | value | The audio resampler type |
|
pure virtual |
Gets the configured audio ringing level.
The volume setting for the ringing device. Values are between 0.0 (muted) and 1.0 (maximum volume). This is not the measured energy of the output samples.
In many cases the ringing device and the output device are the same, so chaning one level will also change and the other.
|
pure virtual |
Configures the audio ringing level.
The volume setting for the ringing device. Values are between 0.0 (muted) and 1.0 (maximum volume). This is not the measured energy of the output samples.
In many cases the ringing device and the output device are the same, so chaning one level will also change and the other.
[in] | value | The volume setting for the ringing device between 0.0 and 1.0 |