audiodevice_event_get_path()

Retrieve the audio device's path from an AUDIODEVICE_INFO event.

Synopsis:

#include <bps/audiodevice.h>
 
BPS_API const char* audiodevice_event_get_path(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The AUDIODEVICE_INFO event to extract the audio device from.

Library:

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

Description:

The audiodevice_event_get_path() function extracts the audio device's path from the specified AUDIODEVICE_INFO event.

Returns:

The audio device's path. The caller does not free this buffer.