![]() |
![]() |
![]() |
![]() |
Media status information
#include <mme/types.h> typedef struct mm_media_status { uint32_t title; uint32_t title_count; uint32_t chapter; uint32_t chapter_count; uint32_t num_audio_streams; uint32_t audio_stream; uint32_t num_subtitle_stream uint32_t subtitle_stream; uint32_t num_angles; uint32_t angle; } mm_media_status_t;
The structure mm_media_status carries information about a media device, such as an iPod, that also serves as a mediastore. It includes at least the members described in the table below.
Member | Type | Description |
---|---|---|
title | uint32_t | The currently playing media title. |
title_count | uint32_t | The number of the current title. |
chapter | uin32_t | The media title's currently playing chapter. |
chapter_count | uint32_t | The number of the current chapter. |
num_audio_streams | uin32_t | The number of available audio streams. |
audio_stream | uin32_t | The current audio stream. |
num_subtitle_streams | uin32_t | The number of available subtitle streams. |
subtitle_stream | uin32_t | The current subtitle stream. |
num_angles | uin32_t | The number of available angles. |
angle | uin32_t | The current angle. |
typedef struct mm_media_status_event { mm_media_status_t status; mm_media_status_reason_t reason; } mm_media_status_event_t;
The structure mm_media_status_event_t carries media information delivered with a MME_EVENT_MEDIA_ event, including its status, in mm_media_status_t, and the reason for the status event delivery, in mm_media_status_reason_t. It includes at least the members described in the table below.
Member | Type | Description |
---|---|---|
status | struct | Information about a media. |
reason | enum | The reason for the media event delivery. |
typedef enum mm_media_status_reason { MM_MEDIA_TITLE_UPDATE MM_MEDIA_CHAPTER_UPDATE MM_MEDIA_ANGLE_UPDATE MM_MEDIA_AUDIO_UPDATE MM_MEDIA_SUBTITLE_UPDATE } mm_media_status_reason_t;
The enumerated type mm_media_status_reason_t is used to indicate the reason for which a media status update is delivered. It can be set to the following values:
QNX Multimedia
mme_device_get_conf(), mme_device_set_conf()
![]() |
![]() |
![]() |
![]() |