audio_manager_get_event_fd()

Get the file descriptors of the events.

Synopsis:

#include <audio/audio_manager_event.h>
 
int audio_manager_get_event_fd(audio_manager_event_context_t *context, int *fd)

Since:

BlackBerry 10.0.0

Arguments:

context

The context returned by audio_manager_get_event_context().

fd

The file descriptor. This can be passed to select() or io_notify().

Library:

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

Description:

The audio_manager_get_event_fd() function returns the current file descriptors of the events added to the event list.

Returns:

EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.