Core mm-player state information.
#include <mmplayer/types.h> typedef struct mmp_state { shuffle_e shuffle_mode; repeat_e repeat_mode; status_e status; float rate; } mmp_state_t;
The mmp_state_t structure stores the current settings for playback order and speed as well as the player's status, which reflects its current playback support and activity. This structure is filled in by the mm_player_get_current_state() function. If you change the repeat or shuffle mode or the playback speed, you can call this function and examine the values returned in the mmp_state_t structure to confirm that your change was applied.