audio_manager_set_voice_output_mute()

Mute the audio output of a given audio device during voice calls.

Synopsis:

#include <audio/audio_manager_volume.h>
 
int audio_manager_set_voice_output_mute(audio_manager_device_t dev, bool mute)

Arguments:

dev

The audio device to mute output.

mute

true if the output of the audio device should be muted, false otherwise.

Library:

libaudio_manager

Description:

The audio_manager_set_voice_output_mute() function mutes the audio output of a given audio device during voice calls.

A process must have either an effective user ID of root, or the authman capability of access_audio_manager, to use this function.

Note that this function is intended for use by system components. Therefore, it is not suitable for all applications.

Returns:

EOK upon success, negative errno upon failure.