mme_set_msid_resume_trksession()

Set the track session ID to use when resuming playback of a mediastore.

Synopsis:

#include <mme/mme.h>

int mme_set_msid_resume_trksession( mme_hdl_t *hdl,
                                    uint64_t msid );

Arguments:

hdl
An MME connection handle.
msid
The ID of the mediastore to which the track session ID is set.

Library:

mme

Description:

The function mme_set_msid_resume_trksession() links a track session with a specific mediastore. The track session ID is used by the function mme_play_resume_msid() to resume playback on the the mediastore.


Note: Multiple mediastore IDs can be assigned to the same track session ID.

For more information about stopping an resuming playback of track sessions, see Stopping and resuming playback in the chapter Playing Media of the MME Developer's Guide.

Events

None delivered.

Blocking and validation

This function blocks on the control context. It performs full validation and runs to completion, returning success or failure.

Returns:

0
Success: the MME assigned the msid to the trksessionid.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_newtrksession(), mme_rmtrksession(), settrksession(). mme_trksession_get_info(), mme_trksession_resume_state(), mme_trksession_save_state()