Begin or resume playback.


#include <qplayer/qplayer.h>

void play();


Begin or resume playback. Calling this function changes the player status to STATUS_PLAYING. This status setting remains in effect until either you pause playback or the end of the tracksession is reached and repeating is disabled.

The track that begins playing is the one selected as the "current" track in the active tracksession. When this track finishes playing, the player chooses a new track to play based on its shuffle and repeat settings. To see which track is currently selected, call getCurrentTrack(). To see the current playback position, call getCurrentTrackPosition().