audio_manager_get_device_name()

Get the audio device name when the type of device is specified.

Synopsis:

#include <audio/audio_manager_device.h>
 
const char* audio_manager_get_device_name(audio_manager_device_t device)

Since:

BlackBerry 10.0.0

Arguments:

device

The type of the device being returned.

Library:

libaudio_manager (For the qcc command, use the -l audio_manager option to link against this library)

Description:

Use audio_manager_get_device_name() to retrieve the audio manager device name when provided the type of the device.

Returns:

The device name from the AUDIO_DEVICE_NAMES. If an error occurred or the string could not be found, a value of "default" is returned.