audio_manager_is_device_suspended()

Check whether the specified audio device is suspended by the system.

Synopsis:

#include <audio/audio_manager_device.h>
 
int audio_manager_is_device_suspended(audio_manager_device_t dev, bool *suspended)

Since:

BlackBerry 10.0.0

Arguments:

dev

The type of the audio device to check against.

suspended

A pointer that's returned to indicate whether the audio device is suspected. A value true specifies that the specified audio device is suspended, a value of false specifies otherwise.

Library:

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

Description:

The audio_manager_is_device_suspended() function checks whether the specified audio device is currently suspended by the system. Suspended audio devices aren't picked by the audio manager as a valid routing destination or source.

Returns:

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