audio_manager_get_redirector_id()

Get the ID of redirector.

Synopsis:

#include <audio/audio_manager_voice_service.h>
 
int audio_manager_get_redirector_id(int *redirector_id)

Arguments:

redirector_id

The ID of redirector.

Library:

libaudio_manager

Description:

The audio_manager_get_redirector_id() function gets the ID of redirector.

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.