Mp3Info Class Reference

#include <mp3_header.h>

List of all members.

Public Member Functions

 Mp3Info ()
 ~Mp3Info ()
void Clean ()
const Mp3_HeaderinfoGetMp3HeaderInfo () 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


Detailed Description

Definition at line 33 of file mp3_header.h.


Constructor & Destructor Documentation

Mp3Info::Mp3Info (  )  [inline]

Definition at line 36 of file mp3_header.h.

Mp3Info::~Mp3Info (  )  [inline]

Definition at line 37 of file mp3_header.h.

References Clean().


Member Function Documentation

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]

Definition at line 40 of file mp3_header.h.

Referenced by ID3_TagImpl::GetMp3HeaderInfo().

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]

Definition at line 43 of file mp3_header.h.

References Mp3_Headerinfo::layer.

Mpeg_Version Mp3Info::Version (  )  const [inline]

Definition at line 44 of file mp3_header.h.

References Mp3_Headerinfo::version.

MP3_BitRates Mp3Info::Bitrate (  )  const [inline]

Definition at line 45 of file mp3_header.h.

References Mp3_Headerinfo::bitrate.

Mp3_ChannelMode Mp3Info::ChannelMode (  )  const [inline]

Definition at line 46 of file mp3_header.h.

References Mp3_Headerinfo::channelmode.

Mp3_ModeExt Mp3Info::ModeExt (  )  const [inline]

Definition at line 47 of file mp3_header.h.

References Mp3_Headerinfo::modeext.

Mp3_Emphasis Mp3Info::Emphasis (  )  const [inline]

Definition at line 48 of file mp3_header.h.

References Mp3_Headerinfo::emphasis.

Mp3_Crc Mp3Info::Crc (  )  const [inline]

Definition at line 49 of file mp3_header.h.

References Mp3_Headerinfo::crc.

uint32 Mp3Info::VbrBitrate (  )  const [inline]

Definition at line 50 of file mp3_header.h.

References Mp3_Headerinfo::vbr_bitrate.

uint32 Mp3Info::Frequency (  )  const [inline]

Definition at line 51 of file mp3_header.h.

References Mp3_Headerinfo::frequency.

uint32 Mp3Info::Framesize (  )  const [inline]

Definition at line 52 of file mp3_header.h.

References Mp3_Headerinfo::framesize.

uint32 Mp3Info::Frames (  )  const [inline]

Definition at line 53 of file mp3_header.h.

References Mp3_Headerinfo::frames.

bool Mp3Info::Private (  )  const [inline]

Definition at line 54 of file mp3_header.h.

References Mp3_Headerinfo::privatebit.

bool Mp3Info::Copyrighted (  )  const [inline]

Definition at line 55 of file mp3_header.h.

References Mp3_Headerinfo::copyrighted.

bool Mp3Info::Original (  )  const [inline]

Definition at line 56 of file mp3_header.h.

References Mp3_Headerinfo::original.

uint32 Mp3Info::Seconds (  )  const [inline]

Definition at line 57 of file mp3_header.h.

References Mp3_Headerinfo::time.


The documentation for this class was generated from the following files:
Generated on Mon Aug 20 17:48:46 2007 for id3lib by  doxygen 1.5.2