MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
vorbis::header Class Reference

#include <vorbis.h>

Public Member Functions

 header (char *newData, unsigned int length)
 
 header (char *newData, unsigned int length)
 
 ~header ()
 
 ~header ()
 
char getAudioChannels ()
 
char getAudioChannels ()
 
long unsigned int getAudioSampleRate ()
 
long unsigned int getAudioSampleRate ()
 
long unsigned int getBitrateMaximum ()
 
long unsigned int getBitrateMaximum ()
 
long unsigned int getBitrateMinimum ()
 
long unsigned int getBitrateMinimum ()
 
long unsigned int getBitrateNominal ()
 
long unsigned int getBitrateNominal ()
 
char getBlockSize0 ()
 
char getBlockSize0 ()
 
char getBlockSize1 ()
 
char getBlockSize1 ()
 
unsigned int getDataSize ()
 
unsigned int getDataSize ()
 
char getFramingFlag ()
 
char getFramingFlag ()
 
int getHeaderType ()
 
int getHeaderType ()
 
long unsigned int getVorbisVersion ()
 
long unsigned int getVorbisVersion ()
 
bool isHeader ()
 
bool isHeader ()
 
std::deque< modereadModeDeque (char audioChannels)
 
std::deque< modereadModeDeque (char audioChannels)
 
std::string toPrettyString (size_t indent=0)
 
std::string toPrettyString (size_t indent=0)
 

Protected Member Functions

uint16_t getInt16 (size_t index)
 
uint16_t getInt16 (size_t index)
 
uint32_t getInt24 (size_t index)
 
uint32_t getInt24 (size_t index)
 
uint32_t getInt32 (size_t index)
 
uint32_t getInt32 (size_t index)
 

Private Member Functions

bool checkDataSize (unsigned int size)
 
bool checkDataSize (unsigned int size)
 
bool validate ()
 
bool validate ()
 

Private Attributes

char * data
 
unsigned int datasize
 
std::deque< modemodes
 

Constructor & Destructor Documentation

vorbis::header::~header ( )
vorbis::header::header ( char *  newData,
unsigned int  length 
)
vorbis::header::~header ( )
vorbis::header::header ( char *  newData,
unsigned int  length 
)

Member Function Documentation

bool vorbis::header::checkDataSize ( unsigned int  size)
private
bool vorbis::header::checkDataSize ( unsigned int  size)
private
char vorbis::header::getAudioChannels ( )
char vorbis::header::getAudioChannels ( )
long unsigned int vorbis::header::getAudioSampleRate ( )
long unsigned int vorbis::header::getAudioSampleRate ( )
long unsigned int vorbis::header::getBitrateMaximum ( )
long unsigned int vorbis::header::getBitrateMaximum ( )
long unsigned int vorbis::header::getBitrateMinimum ( )
long unsigned int vorbis::header::getBitrateMinimum ( )
long unsigned int vorbis::header::getBitrateNominal ( )
long unsigned int vorbis::header::getBitrateNominal ( )
char vorbis::header::getBlockSize0 ( )
char vorbis::header::getBlockSize0 ( )
char vorbis::header::getBlockSize1 ( )
char vorbis::header::getBlockSize1 ( )
unsigned int vorbis::header::getDataSize ( )
inline
unsigned int vorbis::header::getDataSize ( )
inline
char vorbis::header::getFramingFlag ( )
char vorbis::header::getFramingFlag ( )
int vorbis::header::getHeaderType ( )
int vorbis::header::getHeaderType ( )
uint16_t vorbis::header::getInt16 ( size_t  index)
protected
uint16_t vorbis::header::getInt16 ( size_t  index)
protected
uint32_t vorbis::header::getInt24 ( size_t  index)
protected
uint32_t vorbis::header::getInt24 ( size_t  index)
protected
uint32_t vorbis::header::getInt32 ( size_t  index)
protected
uint32_t vorbis::header::getInt32 ( size_t  index)
protected
long unsigned int vorbis::header::getVorbisVersion ( )
long unsigned int vorbis::header::getVorbisVersion ( )
bool vorbis::header::isHeader ( )
bool vorbis::header::isHeader ( )
std::deque<mode> vorbis::header::readModeDeque ( char  audioChannels)
std::deque< mode > vorbis::header::readModeDeque ( char  audioChannels)
std::string vorbis::header::toPrettyString ( size_t  indent = 0)
std::string vorbis::header::toPrettyString ( size_t  indent = 0)
bool vorbis::header::validate ( )
private
bool vorbis::header::validate ( )
private

Field Documentation

char * vorbis::header::data
private
unsigned int vorbis::header::datasize
private
std::deque< mode > vorbis::header::modes
private

The documentation for this class was generated from the following files: