audiodevice_event_get_device()

Get 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)

Arguments:

event
The AUDIODEVICE_INFO event to extract the audio device from.

Library:

libbps

Description:

The audiodevice_event_get_device() function extracts the audio device from the specified AUDIODEVICE_INFO event.

Returns:

The audio device.