audio_manager_get_device_from_name()

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

Synopsis:

#include <audio/audio_manager_device.h>
 
audio_manager_device_t audio_manager_get_device_from_name(const char *device_name)

Since:

BlackBerry 10.0.0

Arguments:

device_name

The name 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_from_name() to retrieve the audio manager device when the name of the device is specified.

Returns:

The device identifier. A value of AUDIO_DEVICE_DEFAULT is returned if a matching audio device can't be found or a NULL is passed to this function.