audio_manager_set_voice_service_status()

Set the status of a given voice service type.

Synopsis:

#include <audio/audio_manager_voice_service.h>
 
int audio_manager_set_voice_service_status(audio_manager_voice_service_t service, audio_manager_voice_service_status_t status)

Arguments:

service

The voice service type that the new status is applied to.

status

The status to be applied.

Library:

libaudio_manager

Description:

The audio_manager_set_voice_service_status() function sets the status of a given voice service type.

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.