2 * set_get.h -- Internal set/get definitions
4 * Copyright (C) 2003 Gabriel Bouvigne / Lame project
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
26 #if defined(__cplusplus)
30 /* select psychoacoustic model */
32 /* manage short blocks */
33 int CDECL lame_set_short_threshold(lame_global_flags *, float, float);
34 int CDECL lame_set_short_threshold_lrm(lame_global_flags *, float);
35 float CDECL lame_get_short_threshold_lrm(const lame_global_flags *);
36 int CDECL lame_set_short_threshold_s(lame_global_flags *, float);
37 float CDECL lame_get_short_threshold_s(const lame_global_flags *);
40 int CDECL lame_set_maskingadjust(lame_global_flags *, float);
41 float CDECL lame_get_maskingadjust(const lame_global_flags *);
43 int CDECL lame_set_maskingadjust_short(lame_global_flags *, float);
44 float CDECL lame_get_maskingadjust_short(const lame_global_flags *);
46 /* select ATH formula 4 shape */
47 int CDECL lame_set_ATHcurve(lame_global_flags *, float);
48 float CDECL lame_get_ATHcurve(const lame_global_flags *);
50 int CDECL lame_set_preset_notune(lame_global_flags *, int);
52 /* substep shaping method */
53 int CDECL lame_set_substep(lame_global_flags *, int);
54 int CDECL lame_get_substep(const lame_global_flags *);
56 /* scalefactors scale */
57 int CDECL lame_set_sfscale(lame_global_flags *, int);
58 int CDECL lame_get_sfscale(const lame_global_flags *);
61 int CDECL lame_set_subblock_gain(lame_global_flags *, int);
62 int CDECL lame_get_subblock_gain(const lame_global_flags *);
67 int apply_preset(lame_global_flags *, int preset, int enforce);
69 void CDECL lame_set_tune(lame_t, float); /* FOR INTERNAL USE ONLY */
70 void CDECL lame_set_msfix(lame_t gfp, double msfix);
73 #if defined(__cplusplus)