|
RTP Audio System
2.0.0
|
#include "tools.h"Go to the source code of this file.
Classes | |
| struct | MediaInfo |
| Media Info. More... | |
Enumerations | |
| enum | MediaError { ME_NoError = 0, ME_NoMedia = 1, ME_EOF = 2, ME_UnrecoverableError = 20, ME_BadMedia = ME_UnrecoverableError + 0, ME_ReadError = ME_UnrecoverableError + 1, ME_OutOfMemory = ME_UnrecoverableError + 2 } |
Functions | |
| struct MediaInfo | __attribute ((packed)) |
| MediaInfo () | |
| void | reset () |
| void | translate () |
| std::ostream & | operator<< (std::ostream &os, const MediaInfo &mi) |
Variables | |
| const card64 | PositionStepsPerSecond = (card64)1000000000 |
| card64 | StartTimeStamp |
| card64 | EndTimeStamp |
| static const cardinal | MaxTitleLength = 47 |
| static const cardinal | MaxArtistLength = 47 |
| static const cardinal | MaxCommentLength = 47 |
| char | Title [MaxTitleLength+1] |
| char | Artist [MaxArtistLength+1] |
| char | Comment [MaxCommentLength+1] |
| enum MediaError |
| struct MediaInfo __attribute | ( | (packed) | ) |
Constructor.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const MediaInfo & | mi | ||
| ) |
Output operator.
| void __attribute::reset | ( | ) |
Reset.
| void __attribute::translate | ( | ) |
Translate byte order.
| char Artist[MaxArtistLength+1] |
Artist string.
| char Comment[MaxCommentLength+1] |
Comment string.
End time stamp of the media.
const cardinal MaxArtistLength = 47 [static] |
Constant for the maximum author length.
const cardinal MaxCommentLength = 47 [static] |
Constant for the maximum comment length.
const cardinal MaxTitleLength = 47 [static] |
Constant for the maximum title length.
| const card64 PositionStepsPerSecond = (card64)1000000000 |
Constant for position steps per second: 1 step = 1 nanosecond;
Start time stamp of the media.
| char Title[MaxTitleLength+1] |
Title string.