Get the audio configuration of the specified 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)
BlackBerry 10.0.0
The type of the audio device to query. If AUDIO_DEVICE_DEFAULT is passed to this function, the num_in_channels returned represents the number of input channels available from the current default input device. The rest of the fields represent the settings of the current default output device.
The audio configuration.
Use audio_manager_get_device_audio_config() to retrieve the audio configuration of the specified audio device. The configuration is retrieved by passing a reference to a audio_manager_device_audio_config_t member.
EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.