audio_manager_set_voice_service_option()

[Privileged]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.

Returns:

EOK upon success, negative errno upon failure.