mme_trksessionview_get_current()

Get information about the current track

Synopsis:

#include <mme/mme.h>

int mme_trksessionview_get_current( mme_hdl_t *hdl,
                                    mme_trksessionview_info_t *info );

Arguments:

hdl
The handle of the control context.
info
A pointer to the information about the MME track session, the device track session, and (where applicable) the video chapters.

Library:

mme

Description:

The function mme_trksessionview_get_current() gets information about the current track and places it in the structure mme_trksessionview_info_t. It works exactly like mme_trksession_get_info() except that it assumes the current title (if applicable) and track.

Events

None delivered.

Blocking and validation

This function performs no validations and doesn't block.

Returns

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_get_info(), mme_trksessionview_info_t