mm_player_seek()

Seek to a position in the current track.

Synopsis:

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

Arguments:

hdl
The mm-player connection handle
position
The new track position (in milliseconds)

Library:

mmplayerclient

Description:

Seek to a position in the current track. The value in position is the number of milliseconds from the start of the track (e.g., 2500).

Returns:

0 on success, -1 on failure