audiodevice_request_events()

Start receiving audio device events.

Synopsis:

#include <bps/audiodevice.h>
 
BPS_API int audiodevice_request_events(int flags)

Arguments:

flags
The types of events to deliver. A value of zero indicates that all events are requested. The meaning of non-zero values is reserved for future use.

Library:

libbps

Description:

The audiodevice_request_events() function starts to deliver audio device events to the application using BPS. Events will be posted to the currently active channel.

Returns:

BPS_SUCCESS upon success, or BPS_FAILURE with errno set otherwise.