audio_manager_get_default_device()

Get the current default audio output device picked by audio manager.

Synopsis:

#include <audio/audio_manager_device.h>
 
int audio_manager_get_default_device(audio_manager_device_t *dev)

Arguments:

dev

The default audio device.

Library:

libaudio_manager

Description:

The audio_manager_get_default_device() function returns the type of the default audio output device picked by the audio manager.

Returns:

EOK upon success, negative errno upon failure.