#include <mp3info.h>
Inheritance diagram for mp3info:
Public Member Functions | |
mp3info (const string &FileName) | |
MP3Info constructor. | |
virtual | ~mp3info (void) |
MP3Info destructor. | |
virtual void | Show (void) const |
Show debug information for fileinfo. | |
Protected Member Functions | |
virtual void | FirstStep (void) |
First step of the mp3info construction. | |
virtual streamoff | Step (char *pContent, streamsize ContentSize, streamoff FileOffset) |
Loop step of the mp3info construction. | |
virtual void | LastStep (void) |
Last step of the mp3info construction. | |
Private Member Functions | |
streamsize | GetID3v2Size (void) |
Gets the id3v2 tag size. | |
streamoff | FindFrameSync (char *pContent, streamsize ContentSize) |
Finds first valid frame synchronized. | |
bool | IsValidFrameSync (char *pContent, streamsize ContentSize) |
Check if there is a good frame sync at Offset. | |
streamoff | ReadFrames (char *pContent, streamsize ContentSize, streamoff FileOffset) |
Count all MP3 frames in a block of memory (and get VBR data). | |
int | GetDuration (void) |
Gets the length of the MP3 in seconds. | |
Private Attributes | |
streamoff | m_FirstFrameOffset |
Offset of the first frame. | |
mp3_frame_header * | m_pMP3FrameHeader |
Pointer to the MP3 frame header object. | |
int | m_Frames |
Number of frames of the MP3. | |
long long | m_BitrateAcum |
Bit rate accumulator to get the AVG. | |
bool | m_GotMoreFrames |
Flag to indicate that there are more frames to read. |
|
MP3Info constructor.
|
Here is the call graph for this function:
|
MP3Info destructor.
|
|
Show debug information for fileinfo.
Reimplemented from fileinfo. |
Here is the call graph for this function:
|
First step of the mp3info construction.
Reimplemented from fileinfo. |
Here is the call graph for this function:
|
Loop step of the mp3info construction.
Reimplemented from fileinfo. |
Here is the call graph for this function:
|
Last step of the mp3info construction.
Reimplemented from fileinfo. |
Here is the call graph for this function:
|
Gets the id3v2 tag size.
|
Here is the call graph for this function:
|
Finds first valid frame synchronized.
|
Here is the call graph for this function:
|
Check if there is a good frame sync at Offset.
|
Here is the call graph for this function:
|
Count all MP3 frames in a block of memory (and get VBR data).
|
Here is the call graph for this function:
|
Gets the length of the MP3 in seconds.
|
Here is the call graph for this function:
|
Offset of the first frame.
|
|
Pointer to the MP3 frame header object.
|
|
Number of frames of the MP3.
|
|
Bit rate accumulator to get the AVG.
|
|
Flag to indicate that there are more frames to read.
|
![]() |
![]() |
![]() |