Get the audio configuration of a given audio device.
#include <audio/audio_manager_device.h>
int audio_manager_get_device_audio_config(audio_manager_device_t dev, audio_manager_device_audio_config_t *config)
The type of the audio device to query. If AUDIO_DEVICE_DEFAULT is passed in, the num_in_channels returned represents the number of input channels of the current default input device. The rest of the fields represent the settings of the current default output device.
The audio configuration.
The audio_manager_get_device_audio_config() function returns the audio configuration of the given audio device, using audio_manager_device_audio_config_t.
EOK upon success, negative errno upon failure.