jump()

Jump to another track in the active tracksession.

Synopsis:

#include <qplayer/qplayer.h>

void jump( const int index );

Arguments:

index
The index of the newly selected track in the active tracksession.

Description:

Jump to another track in the active tracksession. This function changes the "current" track (i.e., the tracksession item selected for playback) to the track at position index. If playback is active when this function is called, the player starts playing the track immediately. If playback isn't active, the track will be played when playback resumes.