mmp_trksession_info_t

Basic tracksession information.

Synopsis:

#include <mmplayer/types.h>

typedef struct mmp_trksession {
    uint64_t tsid;
    int length;
} mmp_trksession_info_t;

Data:

uint64_t tsid
Tracksession ID
int length
Number of tracks within the tracksession

Library:

mmplayerclient

Description:

The mmp_trksession_info_t structure stores information on the player's active tracksession. This structure is filled in by the mm_player_get_current_trksession_info() function. In this release, each player can store only one tracksession at a time, so the tracksession object doesn't reference individual tracks. Instead, each mmp_track_info_t object (which stores information on a single track) stores the track's index (i.e., offset) in the active tracksession. You can retrieve the tracksession's tracks by passing in its ID (read from the tsid field) to the mm_player_get_trksession_tracks() function.