#include <mp3_header.h>
Public Member Functions | |
Mp3Info () | |
~Mp3Info () | |
void | Clean () |
const Mp3_Headerinfo * | GetMp3HeaderInfo () const |
bool | Parse (ID3_Reader &, size_t mp3size) |
Mpeg_Layers | Layer () const |
Mpeg_Version | Version () const |
MP3_BitRates | Bitrate () const |
Mp3_ChannelMode | ChannelMode () const |
Mp3_ModeExt | ModeExt () const |
Mp3_Emphasis | Emphasis () const |
Mp3_Crc | Crc () const |
uint32 | VbrBitrate () const |
uint32 | Frequency () const |
uint32 | Framesize () const |
uint32 | Frames () const |
bool | Private () const |
bool | Copyrighted () const |
bool | Original () const |
uint32 | Seconds () const |
Definition at line 33 of file mp3_header.h.
Mp3Info::Mp3Info | ( | ) | [inline] |
Definition at line 36 of file mp3_header.h.
Mp3Info::~Mp3Info | ( | ) | [inline] |
void Mp3Info::Clean | ( | ) |
Definition at line 93 of file mp3_parse.cpp.
References NULL.
Referenced by Parse(), and ~Mp3Info().
const Mp3_Headerinfo* Mp3Info::GetMp3HeaderInfo | ( | ) | const [inline] |
bool Mp3Info::Parse | ( | ID3_Reader & | , | |
size_t | mp3size | |||
) |
Definition at line 102 of file mp3_parse.cpp.
References Mp3_Headerinfo::bitrate, BYTES_FLAG, calcCRC(), Mp3_Headerinfo::channelmode, Clean(), Mp3_Headerinfo::copyrighted, Mp3_Headerinfo::crc, Mp3_Headerinfo::emphasis, Mp3_Headerinfo::frames, FRAMES_FLAG, Mp3_Headerinfo::framesize, Mp3_Headerinfo::frequency, fto_nearest_i(), ID3_Reader::getCur(), Mp3_Headerinfo::layer, Mp3_Headerinfo::modeext, MP3BITRATE_112K, MP3BITRATE_128K, MP3BITRATE_144K, MP3BITRATE_160K, MP3BITRATE_16K, MP3BITRATE_176K, MP3BITRATE_192K, MP3BITRATE_224K, MP3BITRATE_24K, MP3BITRATE_256K, MP3BITRATE_288K, MP3BITRATE_320K, MP3BITRATE_32K, MP3BITRATE_352K, MP3BITRATE_384K, MP3BITRATE_40K, MP3BITRATE_416K, MP3BITRATE_448K, MP3BITRATE_48K, MP3BITRATE_56K, MP3BITRATE_64K, MP3BITRATE_80K, MP3BITRATE_8K, MP3BITRATE_96K, MP3BITRATE_FALSE, MP3BITRATE_NONE, MP3CHANNELMODE_DUAL_CHANNEL, MP3CHANNELMODE_FALSE, MP3CHANNELMODE_JOINT_STEREO, MP3CHANNELMODE_SINGLE_CHANNEL, MP3CHANNELMODE_STEREO, MP3CRC_ERROR_SIZE, MP3CRC_MISMATCH, MP3CRC_OK, MP3EMPHASIS_50_15MS, MP3EMPHASIS_CCIT_J17, MP3EMPHASIS_FALSE, MP3EMPHASIS_NONE, MP3EMPHASIS_Reserved, MP3FREQUENCIES_11025HZ, MP3FREQUENCIES_12000HZ, MP3FREQUENCIES_16000HZ, MP3FREQUENCIES_22050HZ, MP3FREQUENCIES_24000HZ, MP3FREQUENCIES_32000HZ, MP3FREQUENCIES_44100HZ, MP3FREQUENCIES_48000HZ, MP3FREQUENCIES_8000HZ, MP3FREQUENCIES_Reserved, MP3MODEEXT_0, MP3MODEEXT_1, MP3MODEEXT_2, MP3MODEEXT_3, MP3MODEEXT_FALSE, MPEGLAYER_FALSE, MPEGLAYER_I, MPEGLAYER_II, MPEGLAYER_III, MPEGVERSION_1, MPEGVERSION_2, MPEGVERSION_2_5, MPEGVERSION_FALSE, Mp3_Headerinfo::original, Mp3_Headerinfo::privatebit, ID3_Reader::readChars(), SCALE_FLAG, ID3_Reader::setCur(), Mp3_Headerinfo::time, TOC_FLAG, Mp3_Headerinfo::vbr_bitrate, and Mp3_Headerinfo::version.
Referenced by ID3_TagImpl::ParseReader().
Mpeg_Layers Mp3Info::Layer | ( | ) | const [inline] |
Mpeg_Version Mp3Info::Version | ( | ) | const [inline] |
MP3_BitRates Mp3Info::Bitrate | ( | ) | const [inline] |
Mp3_ChannelMode Mp3Info::ChannelMode | ( | ) | const [inline] |
Mp3_ModeExt Mp3Info::ModeExt | ( | ) | const [inline] |
Mp3_Emphasis Mp3Info::Emphasis | ( | ) | const [inline] |
Mp3_Crc Mp3Info::Crc | ( | ) | const [inline] |
uint32 Mp3Info::VbrBitrate | ( | ) | const [inline] |
uint32 Mp3Info::Frequency | ( | ) | const [inline] |
uint32 Mp3Info::Framesize | ( | ) | const [inline] |
uint32 Mp3Info::Frames | ( | ) | const [inline] |
bool Mp3Info::Private | ( | ) | const [inline] |
bool Mp3Info::Copyrighted | ( | ) | const [inline] |
bool Mp3Info::Original | ( | ) | const [inline] |
uint32 Mp3Info::Seconds | ( | ) | const [inline] |