audio_manager_dispatch_event()

Dispatch the change event.

Synopsis:

#include <audio/audio_manager_event.h>
 
int audio_manager_dispatch_event(audio_manager_event_context_t *context, audio_manager_event_type_t event_type, void *event_params)

Since:

BlackBerry 10.0.0

Arguments:

context

The context returned by audio_manager_get_event_context().

event_type

The type of the event returned by audio_manager_peek_event().

event_params

The parameters of the event returned by audio_manager_peek_event().

Library:

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

Description:

The audio_manager_dispatch_event() function marks an event as dispatched and it no longer returns from audio_manager_peek_event() or audio_manager_dispatch_event().

Returns:

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