![]() |
![]() |
![]() |
![]() |
Information about the currently playing track
#include <mme/types.h> typedef struct mme_play_info { uint64_t fid; uint64_t msid; uint32_t storage_type; uint32_t ftype; uint32_t playmode; uint32_t slottype; uint32_t tracknum; uint32_t titlenum; uint32_t audio_index; uint32_t support; uint32_t reserved; uint64_t mscap; uint32_t reserved; uint64_t offset; } mme_play_info_t;
The structure mme_play_info_t carries information about the currently playing track. The function mme_play_get_info() uses this structure to deliver information about the state of a playback operation.
Member | Type | Description |
---|---|---|
fid | uint64_t | The track or file ID. |
msid | uint64_t | The mediastore ID. |
storage_type | uint32_t | The type of mediastore. See MME_STORAGETYPE_* in this reference. |
ftype | uint32_t | The type of media track or file. See MME_FTYPE_* in this reference. |
playmode | uint32_t | The playmode of the track session (library or file). See MME_FORMAT_* and MME_PLAYMODE_* in this reference. |
slottype | uint32_t | The slot type of the current track or file. See MME_SLOTTYPE_* in this reference. |
tracknum | uint32_t | The track number of the current track or file. |
titlenum | uint32_t | The title or group number of the CD, DVD-video or DVD-audio. |
audio_index | uint32_t | The audio index of the track on a DVD. It is the same as the audio_index filed in the library. |
support | uint32_t | A bitmask flag indicating the functionality supported by the current playing track. See “Play support flag” below. |
reserved | uint32_t | Reserved for future use.. |
mscap | uint64_t | A bitmask with the mediastore capabilities. Values are defined by the MME_MSCAP_* constants. |
offset | uint64_t | The current offset in the track session. Offsets are zero-based |
For information about storage types, see MME_STORAGETYPE_* in this reference.
The support member of mme_play_info_t is a bitmask flag indicating the functionality supported by the current track or file, and the device on which track or file is located:
QNX Multimedia
mme_play_get_info(), mme_button(), MME_FTYPE_*, MME_FORMAT_* and MME_PLAYMODE_*, MME_SLOTTYPE_*, MME_STORAGETYPE_*
![]() |
![]() |
![]() |
![]() |