mm_player_jump()

Jump to a new track in the tracksession.

Synopsis:

#include <mmplayer/mmplayerclient.h>
 
int mm_player_jump( mmplayer_hdl_t *hdl, 
                    const int index )

Arguments:

hdl
The mm-player connection handle
index
The tracksession position of the next track to play

Library:

mmplayerclient

Description:

Jump to a new track in the tracksession. This function sets the current track (i.e., the tracksession item selected for playback) to the track specified by index.

If playback is active when this function is called, the player starts playing the track specified by index. If playback isn't active, the track specified by index will be played when playback resumes.

Returns:

0 on success, -1 on failure