Help - Search - Members - Calendar
Full Version: LAME internal preset Enums
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - Tech
Jebus
I'm having trouble pulling the LAME source off sourceforge for whatever reason...

any of the lame devs have either the source file with the preset enums, or can just paste the values in here for me? Much obliged... still trying to download off sourceforge.
john33
From lame.h in 3.97a7:
CODE
/*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;
smile.gif
Jebus
thanks John!
Gabriel
Note: you can browse the source online with sourceforge, no need to download the source code.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.