audio_manager_is_device_supported()

Check whether a given 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)

Arguments:

dev

The type of the audio device to check against.

supported

true if the specified audio device is supported, false otherwise.

Library:

libaudio_manager

Description:

The audio_manager_is_device_supported() function checks whether a given audio device is currently supported by the system. Unsupported audio devices would result in errors when used against other audio manager interfaces, such as volume, event, and concurrency.

Returns:

EOK upon success, negative errno upon failure.