audio_manager_get_alias_handle()

Get a handle that's an alias to another audio manager handle.

Synopsis:

#include <audio/audio_manager_routing.h>
 
int audio_manager_get_alias_handle(unsigned int target_audioman_handle, unsigned int *audioman_handle)

Since:

BlackBerry 10.0.0

Arguments:

target_audioman_handle

The target audio manager handle that the alias is created from.

audioman_handle

The handle to the audio source that's allocated.

Library:

libaudio_manager (For the qcc command, use the -l audio_manager option to link against this library)

Description:

An audio manager handle is used to track each audio source. Use audio_manager_get_alias_handle() to return the alias to another audio source. An alias to an alias source does not have audio policy effect.

Returns:

EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.