Get the capabilities of a given audio device.
#include <audio/audio_manager_device.h>
int audio_manager_get_device_capability(audio_manager_device_t dev, audio_manager_device_capability_t *cap_mask)
The type of the audio device to query.
The capabilities of the audio device, given as a mask of audio_manager_device_capability_t.
The audio_manager_get_device_capability() function returns the capabilities of a given audio device indicating whether it is capable of output and/or input.
EOK upon success, negative errno upon failure.