Public Member Functions | |
MediaInput () | |
virtual String | GetIdentifier () |
Identifier. | |
virtual uint32 | GetPhysicalType () |
Physical type. | |
virtual View * | GetConfigurationView () |
Configuration view. | |
virtual bool | FileNameRequired () |
Filename required. | |
virtual status_t | Open (String zFileName) |
Open one device / file. | |
virtual void | Close () |
Close the device / file. | |
virtual void | Clear () |
Clear the input. | |
virtual bool | PacketBased () |
Whether the device / file is packet based. | |
virtual bool | StreamBased () |
Whether the device / file is stream based. | |
virtual uint32 | GetTrackCount () |
Number of tracks. | |
virtual uint32 | SelectTrack (uint32 nTrack) |
Select one track. | |
virtual String | GetTitle () |
Title. | |
virtual String | GetAuthor () |
Author. | |
virtual String | GetAlbum () |
Album. | |
virtual String | GetComment () |
Comment. | |
virtual uint32 | GetStreamCount () |
Stream number. | |
virtual MediaFormat_s | GetStreamFormat (uint32 nIndex) |
Return the format of one stream. | |
virtual status_t | ReadPacket (MediaPacket_s *psPacket) |
Read one packet. | |
virtual void | FreePacket (MediaPacket_s *psPacket) |
Free one packet. | |
virtual status_t | StartTrack () |
Start track. | |
virtual void | StopTrack () |
Stop track. | |
virtual uint64 | GetLength () |
Length of the device / file. | |
virtual uint64 | GetCurrentPosition () |
Current position of the device / file. | |
virtual uint64 | Seek (uint64 nPosition) |
Seek. | |
Protected Member Functions | |
virtual | ~MediaInput () |
MediaInput::~MediaInput | ( | ) | [protected, virtual] |
MediaInput::MediaInput | ( | ) |
String MediaInput::GetIdentifier | ( | ) | [virtual] |
uint32 MediaInput::GetPhysicalType | ( | ) | [virtual] |
View * MediaInput::GetConfigurationView | ( | ) | [virtual] |
bool MediaInput::FileNameRequired | ( | ) | [virtual] |
status_t MediaInput::Open | ( | String | zFileName | ) | [virtual] |
zFileName | - Filename of the device / file if FileNameRequired() returns true. This parameter might also be used to pass parameters to the input. |
void MediaInput::Close | ( | ) | [virtual] |
void MediaInput::Clear | ( | ) | [virtual] |
bool MediaInput::PacketBased | ( | ) | [virtual] |
bool MediaInput::StreamBased | ( | ) | [virtual] |
uint32 MediaInput::GetTrackCount | ( | ) | [virtual] |
uint32 MediaInput::SelectTrack | ( | uint32 | nTrack | ) | [virtual] |
nTrack | - Selected track. |
String MediaInput::GetTitle | ( | ) | [virtual] |
String MediaInput::GetAuthor | ( | ) | [virtual] |
String MediaInput::GetAlbum | ( | ) | [virtual] |
String MediaInput::GetComment | ( | ) | [virtual] |
uint32 MediaInput::GetStreamCount | ( | ) | [virtual] |
MediaFormat_s MediaInput::GetStreamFormat | ( | uint32 | nIndex | ) | [virtual] |
nIndex | - Index of the stream. |
status_t MediaInput::ReadPacket | ( | MediaPacket_s * | psPacket | ) | [virtual] |
psPacket | - pointer to the packet which is filled wit the data. |
void MediaInput::FreePacket | ( | MediaPacket_s * | psPacket | ) | [virtual] |
status_t MediaInput::StartTrack | ( | ) | [virtual] |
void MediaInput::StopTrack | ( | ) | [virtual] |
uint64 MediaInput::GetLength | ( | ) | [virtual] |
uint64 MediaInput::GetCurrentPosition | ( | ) | [virtual] |
uint64 MediaInput::Seek | ( | uint64 | nPosition | ) | [virtual] |
nPosition | - Position the device / file should seek to. |