Package lame.std

Contains the symmetric Java elements of the standard LAME methods, structures and constants defined in the archive lame.h and exported in lame_enc.dll and libmp3lame.so/.dylib .

See:
          Description

Interface Summary
asm_optimizations Asm optimizations: typedef enum asm_optimizations_e { MMX = 1, AMD_3DNOW = 2, SSE = 3 } asm_optimizations;
lame_errorcodes_t typedef enum { LAME_OKAY = 0, LAME_NOERROR = 0, LAME_GENERICERROR = -1, LAME_NOMEM = -10, LAME_BADBITRATE = -11, LAME_BADSAMPFREQ = -12, LAME_INTERNALERROR = -13, FRONTEND_READERROR = -80, FRONTEND_WRITEERROR = -81, FRONTEND_FILETOOLARGE = -82 } lame_errorcodes_t;
MPEG_mode MPEG modes: typedef enum MPEG_mode_e { STEREO = 0, JOINT_STEREO, DUAL_CHANNEL, // LAME doesn't supports this!
Padding_type Padding types: typedef enum Padding_type_e { PAD_NO = 0, PAD_ALL, PAD_ADJUST, PAD_MAX_INDICATOR // Don't use this!
preset_mode Presets: typedef enum preset_mode_e { //values from 8 to 320 should be reserved for abr bitrates //for abr I'd suggest to directly use the targeted bitrate as a value ABR_8 = 8, ABR_320 = 320, V9 = 410, // Vx to match Lame and VBR_xx to match FhG VBR_10 = 410, V8 = 420, VBR_20 = 420, V7 = 430, VBR_30 = 430, V6 = 440, VBR_40 = 440, V5 = 450, VBR_50 = 450, V4 = 460, VBR_60 = 460, V3 = 470, VBR_70 = 470, V2 = 480, VBR_80 = 480, V1 = 490, VBR_90 = 490, V0 = 500, VBR_100 = 500, //still there for compatibility R3MIX = 1000, STANDARD = 1001, EXTREME = 1002, INSANE = 1003, STANDARD_FAST = 1004, EXTREME_FAST = 1005, MEDIUM = 1006, MEDIUM_FAST = 1007 } preset_mode;
Psy_model Psychoacoustic model: typedef enum Psy_model_e { PSY_GPSYCHO = 1, PSY_NSPSYTUNE = 2 } Psy_model;
vbr_mode typedef enum vbr_mode_e { vbr_off=0, vbr_mt, // obsolete, same as vbr_mtrh vbr_rh, vbr_abr, vbr_mtrh, vbr_max_indicator, // Don't use this!
 

Class Summary
FileUtil  
FileUtil.FILE  
Lame  
lame_global_flags  
lame_version_t typedef struct { // generic LAME version int major; int minor; int alpha; // 0 if not an alpha version int beta; // 0 if not a beta version // version of the psy model int psy_major; int psy_minor; int psy_alpha; // 0 if not an alpha version int psy_beta; // 0 if not a beta version // compile time features const char *features; // Don't make assumptions about the contents!
LameMsgCallback  
mp3data_struct typedef struct { int header_parsed; // 1 if header was parsed and following data was computed int stereo; // number of channels int samplerate; // sample rate int bitrate; // bitrate int mode; // mp3 frame type int mode_ext; // mp3 frame type int framesize; // number of samples per mp3 frame // this data is only computed if mpglib detects a Xing VBR header unsigned long nsamp; // number of samples in mp3 file.
 

Package lame.std Description

Contains the symmetric Java elements of the standard LAME methods, structures and constants defined in the archive lame.h and exported in lame_enc.dll and libmp3lame.so/.dylib .



Copyright © 2006-2008 Jose Maria Arranz. All Rights Reserved.