Get the next available event.
#include <mmplayer/event.h> const mmp_event_t* mmp_event_get( mmplayer_hdl_t *hdl )
Get the next available event. This function returns an mmp_event_t structure populated with the event details. Typically, you would call this function within an event-processing loop, after calling mmp_event_wait().
The data in the returned structure is valid only until the next mmp_event_get() call. If you want to keep the data longer, copy the mmp_event_t contents into other program variables, cloning any strm_string_t fields within the structure.
A pointer to an event, or NULL on error