#include <cascade/av/CascadeMPEGPlayerMessage.h>
Public Types | |
typedef Error | EndReason |
enum | Type { kOpenSession = 0, kCloseSession = 1, kQueueFile = 2, kPause = 3, kResume = 4, kOnSessionAbort = 100, kOnPlaybackBegin = 101, kOnPlaybackEnd = 102, kOnPlaybackLoop = 103 } |
enum | Error { kEndOfFile = 0, kFileNotFound = 1, kFileReadError = 2, kBadFormat = 3, kDecoderError = 4 } |
Static Public Member Functions | |
static u32 | MessageID () |
static const char * | WormholeURL () |
Public Attributes | |
Type | m_type |
u32 | m_nSessionID |
u32 | m_nFileRef |
u32 | m_nPlayCount |
int | m_nPID |
u8 | m_nPriority |
bool | m_bResult |
Error | m_error |
u32 | m_nSerializedMPEGFileDataLen |
u8 | m_serializedMPEGFileData [4096] |
CascadeMPEGPlayerMessage is a class that allows easy playback of Media files
|
|
|
|
|
represents the message type CascadeMPEGPlayerMessage contain a member variables of this type indicating the type of the message
|
|
returns the messageID of the CascadeMPEGPlayerMessage MessageID() is used to determine if a wormhole message is a CascadeMPEGPlayerMessage Use it as follows: CascadeMessage * pMessage = wormhole.WaitForMessage(); if ((NULL != pMessage) && (pMessage->ID() == CascadeMPEGPlayerMessage::MessageID())) { // we have an mpeg player message }
|
|
returns the wormhole URL of the Cascade MPEG Player WormholeURL() is used to get the wormhole URL of the Cascade MPEG Player. This is a static string - do not modify it!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|