mme_play_offset()

Start playback at the specified offset in a track session

Synopsis:

#include <mme/mme.h>

int mme_play_offset( mme_hdl_t *hdl,
                     int offset,
                     uint32_t flags );

Arguments:

hdl
An MME connection handle.
offset
The 0-based offset in the track session at which to start playback.
flags
For future use.

Library:

mme

Description:

The function mme_play_offset() starts playback at the specified offset in a track session (the offset in the trksessionview table). A value of 0 for the offset starts playback of the first track in the track session. Once started, playback continues through to the end of the track session.

Note the following about using mme_play_offset():

Events

None delivered.

Blocking and validation

This function doesn't block.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_trksession_append_files(), mme_trksession_set_files(), mme_trksessionview_readx()