Determine whether the specified audio device is supported by the system.
#include <audio/audio_manager_device.h>
int audio_manager_is_device_supported(audio_manager_device_t dev, bool *supported)
BlackBerry 10.0.0
The type of the audio device to check against.
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.
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.
EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.