mmp_state_t

Core mm-player state information.

Synopsis:

#include <mmplayer/types.h>

typedef struct mmp_state {
    shuffle_e shuffle_mode;
    repeat_e repeat_mode;
    status_e status;
    float rate;
} mmp_state_t;

Data:

shuffle_e shuffle_mode
Shuffle mode
repeat_e repeat_mode
Repeat mode
status_e status
Player status
float rate
Playback rate (i.e., the speed of playback)

Library:

mmplayerclient

Description:

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.