The mm-renderer events reported by the API
#include <mm/renderer/events.h>
typedef enum mmr_event_type { MMR_EVENT_NONE, MMR_EVENT_ERROR, MMR_EVENT_STATE, MMR_EVENT_OVERFLOW, MMR_EVENT_WARNING, MMR_EVENT_STATUS, MMR_EVENT_METADATA, MMR_EVENT_PLAYLIST, MMR_EVENT_INPUT, MMR_EVENT_OUTPUT, MMR_EVENT_CTXTPAR, MMR_EVENT_TRKPAR, MMR_EVENT_OTHER, } mmr_event_type_t;
No pending events.
Playback has stopped due to an error or EOF.
State or speed change, other than an error or EOF.
Some state changes lost; the event contains the most recent state.
Warning event.
Status update (position, buffer level, etc).
Metadata update for the attached input, or one track referenced by the attached input (such as a playlist entry).
Playlist window update.
An input has been attached or detached, or input parameters have changed.
An output has been attached or detached, or output parameters have changed.
Context parameters have changed.
Track parameters for an individual track or a playlist entry have changed.
None of the above, but something has changed. You can typically ignore this event type.
The enumerated type mmr_event_type_t defines all possible events that can be observed through the Event API. Events include: changes to the context state or playback speed; updates of metadata or the playlist window; and attachment and detachment of input and output devices.
To obtain the type of the last event, call mmr_event_get() and examine the type field in the mmr_event_t structure returned by the function.
QNX Neutrino