Check whether a given 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)
The type of the audio device to check against.
true if the specified audio device is supported, false otherwise.
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.
EOK upon success, negative errno upon failure.