libcfe  0.12.1
some useful C-functions
mp3tech.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mp3header
 
struct  id3tag
 
struct  mp3info
 

Macros

#define MIN_CONSEC_GOOD_FRAMES   4
 
#define FRAME_HEADER_SIZE   4
 
#define MIN_FRAME_SIZE   21
 
#define NUM_SAMPLES   4
 

Enumerations

enum  VBR_REPORT { VBR_VARIABLE, VBR_AVERAGE, VBR_MEDIAN }
 
enum  SCANTYPE { SCAN_NONE, SCAN_QUICK, SCAN_FULL }
 

Functions

int get_header (FILE *file, mp3header *header)
 
int frame_length (mp3header *header)
 
int header_layer (mp3header *h)
 
int header_bitrate (mp3header *h)
 
int sameConstant (mp3header *h1, mp3header *h2)
 
int get_mp3_info (mp3info *mp3, int scantype, int fullscan_vbr)
 
int get_id3 (mp3info *mp3)
 
char * pad (char *string, int length)
 
char * unpad (char *string)
 
int write_tag (mp3info *mp3)
 
int header_frequency (mp3header *h)
 
char * header_emphasis (mp3header *h)
 
char * header_mode (mp3header *h)
 
int get_first_header (mp3info *mp3, long startpos)
 
int get_next_header (mp3info *mp3)
 

Macro Definition Documentation

◆ FRAME_HEADER_SIZE

#define FRAME_HEADER_SIZE   4

Definition at line 33 of file mp3tech.h.

◆ MIN_CONSEC_GOOD_FRAMES

#define MIN_CONSEC_GOOD_FRAMES   4

Definition at line 32 of file mp3tech.h.

◆ MIN_FRAME_SIZE

#define MIN_FRAME_SIZE   21

Definition at line 34 of file mp3tech.h.

◆ NUM_SAMPLES

#define NUM_SAMPLES   4

Definition at line 35 of file mp3tech.h.

Enumeration Type Documentation

◆ SCANTYPE

enum SCANTYPE
Enumerator
SCAN_NONE 
SCAN_QUICK 
SCAN_FULL 

Definition at line 38 of file mp3tech.h.

◆ VBR_REPORT

enum VBR_REPORT
Enumerator
VBR_VARIABLE 
VBR_AVERAGE 
VBR_MEDIAN 

Definition at line 37 of file mp3tech.h.

Function Documentation

◆ frame_length()

int frame_length ( mp3header header)

Definition at line 259 of file mp3tech.c.

Here is the call graph for this function:

◆ get_first_header()

int get_first_header ( mp3info mp3,
long  startpos 
)

Definition at line 155 of file mp3tech.c.

Here is the call graph for this function:

◆ get_header()

int get_header ( FILE *  file,
mp3header header 
)

Definition at line 223 of file mp3tech.c.

Here is the call graph for this function:

◆ get_id3()

int get_id3 ( mp3info mp3)

Definition at line 300 of file mp3tech.c.

Here is the call graph for this function:

◆ get_mp3_info()

int get_mp3_info ( mp3info mp3,
int  scantype,
int  fullscan_vbr 
)

Definition at line 69 of file mp3tech.c.

Here is the call graph for this function:

◆ get_next_header()

int get_next_header ( mp3info mp3)

Definition at line 192 of file mp3tech.c.

Here is the call graph for this function:

◆ header_bitrate()

int header_bitrate ( mp3header h)

Definition at line 268 of file mp3tech.c.

◆ header_emphasis()

char* header_emphasis ( mp3header h)

Definition at line 276 of file mp3tech.c.

◆ header_frequency()

int header_frequency ( mp3header h)

Definition at line 272 of file mp3tech.c.

◆ header_layer()

int header_layer ( mp3header h)

Definition at line 266 of file mp3tech.c.

◆ header_mode()

char* header_mode ( mp3header h)

Definition at line 280 of file mp3tech.c.

◆ pad()

char* pad ( char *  string,
int  length 
)

Definition at line 340 of file mp3tech.c.

◆ sameConstant()

int sameConstant ( mp3header h1,
mp3header h2 
)

Definition at line 284 of file mp3tech.c.

◆ unpad()

char* unpad ( char *  string)

Definition at line 355 of file mp3tech.c.

◆ write_tag()

int write_tag ( mp3info mp3)

Definition at line 366 of file mp3tech.c.

Here is the call graph for this function: