Set the audio option of a given voice service type and a given audio device.
#include <audio/audio_manager_voice_service.h>
int audio_manager_set_voice_service_option(audio_manager_voice_service_t service, audio_manager_device_t dev_output, audio_manager_voice_option_t option)
The voice service type that the new audio option is applied to.
The audio device that the new audio option is applied to.
The new audio option to be applied.
The audio_manager_set_voice_service_option() function sets the audio option of a given voice service type and a given audio device.
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.
EOK upon success, negative errno upon failure.