audiodevice_event_get_device()

Retrieve the audio device from an AUDIODEVICE_INFO event.

Synopsis:

#include <bps/audiodevice.h>
 
BPS_API audiodevice_device_t audiodevice_event_get_device(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_device() function extracts the audio device from the specified AUDIODEVICE_INFO event.

Returns:

The audio device.