audio_manager_get_device_audio_path()

Get the output audio path of a given audio device.

Synopsis:

#include <audio/audio_manager_device.h>
 
int audio_manager_get_device_audio_path(audio_manager_device_t dev, char *path, int *size)

Arguments:

dev

The type of the audio device to query

path

The audio path.

size

The size of the path buffer. If not sufficient, the minimum size to store the path is returned.

Library:

libaudio_manager

Description:

Deprecated:

This function is deprecated.

The audio_manager_get_device_audio_path() function returns the audio output path of a given audio device. This function should not be used in new code. The path should simply be the name of the device.

Returns:

EOK upon success, negative errno upon failure.