Get the dependency of a given audio device.
#include <audio/audio_manager_device.h>
int audio_manager_get_device_dependency(audio_manager_device_t dev, audio_manager_device_t *dev_dependent)
The type of the audio device to query.
The associated dependent audio device.
The audio_manager_get_device_dependency() function returns the dependency of a given audio device. An audio device with an inactive (suspended/unsupported/disconnected) dependency is not picked by the audio manager as a valid routing destination/source.
EOK upon success, negative errno upon failure.