42 #define MIN_CONSEC_GOOD_FRAMES 4
43 #define FRAME_HEADER_SIZE 4
44 #define MIN_FRAME_SIZE 21
46 #define TEXT_FIELD_LEN 30
47 #define INT_FIELD_LEN 4
55 #if !defined(COMPILE_ON_WINDOWS) && !defined(COMPILE_ON_MINGW)
93 unsigned char track[1];
94 unsigned char genre[1];
136 char *
pad(
char *
string,
int length);
137 char *
unpad(
char *
string);
FILE * file
Definition: MpMp3.h:100
int id3_isvalid
Definition: MpMp3.h:104
int frame_length(mp3header *header)
Definition: MpMp3.cpp:319
int frames
Definition: MpMp3.h:109
const char * get_typegenre(int idx)
Definition: MpMp3.cpp:121
double header_version(mp3header *h)
int header_frequency(mp3header *h)
Definition: MpMp3.cpp:337
char * unpad(char *string)
Definition: MpMp3.cpp:439
float vbr_average
Definition: MpMp3.h:107
int header_isvalid
Definition: MpMp3.h:102
#define i
Definition: detector.cpp:73
int seconds
Definition: MpMp3.h:108
int header_crc(mp3header *h)
Definition: MpMp3.cpp:357
#define h
Definition: detector.cpp:72
void resetmp3infoStruct(mp3info *i)
Definition: MpMp3.cpp:179
int get_id3(mp3info *mp3)
Definition: MpMp3.cpp:373
int get_mp3_info(mp3info *mp3)
Definition: MpMp3.cpp:194
int get_header(FILE *file, mp3header *header)
Definition: MpMp3.cpp:284
mp3header header
Definition: MpMp3.h:103
int header_bitrate(mp3header *h)
Definition: MpMp3.cpp:329
id3tag id3
Definition: MpMp3.h:105
int badframes
Definition: MpMp3.h:110
int header_layer(mp3header *h)
Definition: MpMp3.cpp:324
const char * header_mode(mp3header *h)
Definition: MpMp3.cpp:347
char * pad(char *string, int length)
Definition: MpMp3.cpp:423
unsigned int datasize
Definition: MpMp3.h:101
int get_first_header(mp3info *mp3, long startpos)
Definition: MpMp3.cpp:235
const char * header_emphasis(mp3header *h)
Definition: MpMp3.cpp:342
bool scan_mp3_file(QString &szFileName, mp3info *i)
Definition: MpMp3.cpp:447
This file contains compile time settings.
int header_channels(mp3header *h)
Definition: MpMp3.cpp:352
int vbr
Definition: MpMp3.h:106
QString filename
Definition: MpMp3.h:99
VBR_REPORT
Definition: MpMp3.h:62
int sameConstant(mp3header *h1, mp3header *h2)
Definition: MpMp3.cpp:362