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)

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

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, negative errno upon failure.