ms_playback_capability_e

Media source playback operations.

Synopsis:

#include <mmplayer/types.h>
 
typedef enum {
      MS_PLAY_CAPABILITY_PLAY =         (0x00000001),
      MS_PLAY_CAPABILITY_PAUSE =        (0x00000002),
      MS_PLAY_CAPABILITY_NEXT =         (0x00000004),
      MS_PLAY_CAPABILITY_PREVIOUS =     (0x00000008),
      MS_PLAY_CAPABILITY_SEEK =         (0x00000010),
      MS_PLAY_CAPABILITY_SET_PLAYBACK_RATE = (0x00000020),
      MS_PLAY_CAPABILITY_SHUFFLE =      (0x00000040),
      MS_PLAY_CAPABILITY_REPEAT_ALL =   (0x00000080),
      MS_PLAY_CAPABILITY_REPEAT_ONE =   (0x00000100),
      MS_PLAY_CAPABILITY_REPEAT_NONE =  (0x00000200),
      MS_PLAY_CAPABILITY_STOP =         (0x00000400),
      MS_PLAY_CAPABILITY_JUMP =         (0x00000800),
      MS_PLAY_CAPABILITY_GET_POSITION = (0x00001000),
      MS_PLAY_CAPABILITY_PLAYER_MODE =  (0x10000000),
      MS_PLAY_CAPABILITY_DEVICE_MODE =  (0x20000000)
} ms_playback_capability_e;

Data:

MS_PLAY_CAPABILITY_PLAY
Playback is supported.
MS_PLAY_CAPABILITY_PAUSE
Playback can be paused.
MS_PLAY_CAPABILITY_NEXT
You can skip to the next track.
MS_PLAY_CAPABILITY_PREVIOUS
You can skip to the previous track.
MS_PLAY_CAPABILITY_SEEK
You can seek to a specific playback position.
MS_PLAY_CAPABILITY_SET_PLAYBACK_RATE
Playback speed can be adjusted.
MS_PLAY_CAPABILITY_SHUFFLE
Playback can be shuffled (i.e., randomized)
MS_PLAY_CAPABILITY_REPEAT_ALL
You can repeat all tracks in the same order.
MS_PLAY_CAPABILITY_REPEAT_ONE
You can repeat one track continuously.
MS_PLAY_CAPABILITY_REPEAT_NONE
You can disable repeating.
MS_PLAY_CAPABILITY_STOP
Playback can be stopped.
MS_PLAY_CAPABILITY_JUMP
You can jump to a different track.
MS_PLAY_CAPABILITY_GET_POSITION
You can retrieve the current playback position.
MS_PLAY_CAPABILITY_PLAYER_MODE
The mm-player server can manage tracksessions.
MS_PLAY_CAPABILITY_DEVICE_MODE
The plugin accessing the media source can manage tracksessions.

Library:

mmplayerclient

Description:

Media source playback operations. These constants indicate which bits to examine in the capabilities field of the mmp_ms_t structure when testing if a media source supports a given playback operation.