mmr_seek()

Seek to a specified play position

Synopsis:

#include <renderer.h>

int mmr_seek( mmr_context_t *ctxt,
              const char *position );

Arguments:

ctxt
A context handle.
position
The position to seek to, in the format required by the context's input media type.

Library:

mmrndclient

Description:

The mmr_seek() function seeks to the specified position of the input media. The position must be in the correct format for the media type. For playlists, for example, specify the position as two colon-separated decimal numbers, such as "2:1200", where the first number is the playlist index, and the second is the number of milliseconds from the beginning of the playlist item.

Returns:

0
Success.
-1
An error occurred. Use the function mmr_error_info() to retrieve information about the error.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes