audio_manager_get_handle_status()

Determine the status of the specified audio manager handle.

Synopsis:

#include <audio/audio_manager_routing.h>
 
int audio_manager_get_handle_status(unsigned int audioman_handle, bool *suspended, bool *bound)

Since:

BlackBerry 10.0.0

Arguments:

audioman_handle

The audio manager handle to query.

suspended

Whether the handle is to be suspended after allocation. A value of true to suspend the audio source after allocation while a value of false indicates otherwise.

bound

A pointer that specifies whether handle to the audio source is bound to the PCM source. When a value of true is returned, it indicates that the audio manager audio manager handle is bound to a PCM handle. A value of false indicates otherwise.

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. The audio_manager_get_handle_status() function returns the activation status and binding status of the specified audio manager handle.

Returns:

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