audio_manager_is_device_supported()

Determine whether the specified audio device is supported by the system.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

dev

The type of the audio device to check against.

supported

A pointer that is returned that specifies whether the specified audio device is supported. A value of true indicates that the specified audio device is supported, 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_supported() function checks whether a the specified audio device is supported by the system. Unsupported audio devices result in errors when used against other audio manager interfaces, such as volume, event, and concurrency.

Returns:

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