// VoipVolumeControl interface. // // This sub-API supports functions related to the input (microphone) and output // (speaker) device. // // Caller must ensure that ChannelId is valid otherwise it will result in no-op // with error logging. class VoipVolumeControl { public: // Mute/unmutes the microphone input sample before encoding process. Note that // mute doesn't affect audio input level and energy values as input sample is // silenced after the measurement. // Returns following VoipResult; // kOk - input source muted or unmuted as provided by `enable`. // kInvalidArgument - `channel_id` is invalid. virtual VoipResult SetInputMuted(ChannelId channel_id, bool enable) = 0;
// Gets the microphone volume info via `volume_info` reference. // Returns following VoipResult; // kOk - successfully set provided input volume info. // kInvalidArgument - `channel_id` is invalid. virtual VoipResult GetInputVolumeInfo(ChannelId channel_id,
VolumeInfo& volume_info) = 0;
// Gets the speaker volume info via `volume_info` reference. // Returns following VoipResult; // kOk - successfully set provided output volume info. // kInvalidArgument - `channel_id` is invalid. virtual VoipResult GetOutputVolumeInfo(ChannelId channel_id,
VolumeInfo& volume_info) = 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.