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)
136char *
pad(
char *
string,
int length);
137char *
unpad(
char *
string);
char * pad(char *string, int length)
Definition MpMp3.cpp:422
double header_version(mp3header *h)
int header_layer(mp3header *h)
Definition MpMp3.cpp:324
int get_first_header(mp3info *mp3, long startpos)
Definition MpMp3.cpp:235
int frame_length(mp3header *header)
Definition MpMp3.cpp:319
int header_bitrate(mp3header *h)
Definition MpMp3.cpp:329
bool scan_mp3_file(QString &szFileName, mp3info *i)
Definition MpMp3.cpp:446
int get_mp3_info(mp3info *mp3)
Definition MpMp3.cpp:194
int sameConstant(mp3header *h1, mp3header *h2)
Definition MpMp3.cpp:362
int header_channels(mp3header *h)
Definition MpMp3.cpp:352
int header_frequency(mp3header *h)
Definition MpMp3.cpp:337
const char * header_emphasis(mp3header *h)
Definition MpMp3.cpp:342
int header_crc(mp3header *h)
Definition MpMp3.cpp:357
char * unpad(char *string)
Definition MpMp3.cpp:438
VBR_REPORT
Definition MpMp3.h:63
@ VBR_VARIABLE
Definition MpMp3.h:64
@ VBR_AVERAGE
Definition MpMp3.h:65
@ VBR_MEDIAN
Definition MpMp3.h:66
int get_header(FILE *file, mp3header *header)
Definition MpMp3.cpp:284
void resetmp3infoStruct(mp3info *i)
Definition MpMp3.cpp:179
const char * header_mode(mp3header *h)
Definition MpMp3.cpp:347
int get_id3(mp3info *mp3)
Definition MpMp3.cpp:373
const char * get_typegenre(int idx)
Definition MpMp3.cpp:121
#define i
Definition detector.cpp:74
#define h
Definition detector.cpp:73
This file contains compile time settings.
char album[31]
Definition MpMp3.h:90
unsigned char genre[1]
Definition MpMp3.h:94
char title[31]
Definition MpMp3.h:88
char artist[31]
Definition MpMp3.h:89
unsigned char track[1]
Definition MpMp3.h:93
char year[5]
Definition MpMp3.h:91
char comment[31]
Definition MpMp3.h:92
unsigned int datasize
Definition MpMp3.h:101
int id3_isvalid
Definition MpMp3.h:104
int seconds
Definition MpMp3.h:108
QString filename
Definition MpMp3.h:99
int header_isvalid
Definition MpMp3.h:102
FILE * file
Definition MpMp3.h:100
int vbr
Definition MpMp3.h:106
mp3header header
Definition MpMp3.h:103
float vbr_average
Definition MpMp3.h:107
id3tag id3
Definition MpMp3.h:105
int badframes
Definition MpMp3.h:110
int frames
Definition MpMp3.h:109