audio_manager_set_voice_service_option()

Set the audio option of a given voice service type and a given audio device.

Synopsis:

#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)

Arguments:

service

The voice service type that the new audio option is applied to.

dev_output

The audio device that the new audio option is applied to.

option

The new audio option to be applied.

Library:

libaudio_manager

Description:

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.

Returns:

EOK upon success, negative errno upon failure.