For those who are also interested, as of 3.96:
CODE
case V2: { /*STANDARD*/
lame_set_VBR_q(gfp, 2);
switch (lame_get_VBR(gfp)) {
case vbr_rh: {
SET_OPTION(VBR_min_bitrate_kbps, 128, 0); /*ideally, we should get rid of this*/
SET_OPTION(short_threshold_lrm, 4.3f, -1);
SET_OPTION(short_threshold_s, 25.0f, -1);
SET_OPTION(quant_comp, 3, -1);
SET_OPTION(quant_comp_short, 3, -1);
SET_OPTION(psy_model, PSY_NSPSYTUNE, -1);
lame_set_exp_nspsytune(gfp, lame_get_exp_nspsytune(gfp) | 2); /* safejoint */
SET_OPTION(msfix, 1.38, -1);
SET_OPTION(maskingadjust, .9, 0);
SET_OPTION(maskingadjust_short, -1, 0);
SET_OPTION(ATHlower, -1.5, 0);
SET_OPTION(ATHcurve, 2, -1);
/* modify sfb21 by 3.75 dB plus ns-treble=0 */
lame_set_exp_nspsytune(gfp, lame_get_exp_nspsytune(gfp) | (15 << 20));
return preset;
I can understand the c code, but I still can't map it to command line options, anyone can help?