Get the player's state.
#include <mmplayer/mmplayerclient.h> int mm_player_get_current_state( mmplayer_hdl_t *hdl, mmp_state_t **state )
Get the state of the currently connected player. The library allocates memory for the structure referenced in state but it's the caller's responsibility to later deallocate that memory.
0 on success, -1 on failure