Public Member Functions | |
AudioData (int num, int min, Bitstream &bs) | |
~AudioData () | |
void | Write (Bitstream &bs) const |
void | Write (Bitstream &bs, int start, int end) const |
This class just keeps audio data bytes.
Definition at line 16 of file audiodata.h.
|
Constructor Reads data bits from Bitstream
Definition at line 14 of file audiodata.cpp. References Bitstream::ReadBytes(). |
|
Destructor Deletes allocated data
Definition at line 38 of file audiodata.cpp. |
|
Writes subset of data Addresed by byte number (not bit number). Checks bounds via assert() .
Definition at line 48 of file audiodata.cpp. References Bitstream::WriteBytes(). |
|
Writes all data bits
Definition at line 43 of file audiodata.cpp. References Bitstream::WriteBytes(). Referenced by MP3Frame::Write(), and MP3Frame::WriteData(). |