00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __SET_GET_H__
00022 #define __SET_GET_H__
00023
00024
00025 #if defined(__cplusplus)
00026 extern "C" {
00027 #endif
00028
00029 #if defined(WIN32)
00030 #undef CDECL
00031 #define CDECL _cdecl
00032 #else
00033 #define CDECL
00034 #endif
00035
00036
00037
00038 int CDECL lame_set_psy_model(lame_global_flags *, int);
00039 int CDECL lame_get_psy_model(const lame_global_flags *);
00040
00041
00042 void CDECL lame_set_ms_sparsing(lame_global_flags *, int);
00043 void CDECL lame_set_ms_sparse_low(lame_t, float);
00044 void CDECL lame_set_ms_sparse_high(lame_t, float);
00045
00046
00047
00048 int CDECL lame_set_short_threshold(lame_global_flags *, float, float);
00049 int CDECL lame_set_short_threshold_lrm(lame_global_flags *, float);
00050 float CDECL lame_get_short_threshold_lrm(const lame_global_flags *);
00051 int CDECL lame_set_short_threshold_s(lame_global_flags *, float);
00052 float CDECL lame_get_short_threshold_s(const lame_global_flags *);
00053
00054
00055 int CDECL lame_set_vbr_smooth(lame_global_flags *, int);
00056 int CDECL lame_get_vbr_smooth(const lame_global_flags *);
00057
00058 int CDECL lame_set_maskingadjust(lame_global_flags *, float);
00059 float CDECL lame_get_maskingadjust(const lame_global_flags *);
00060
00061 int CDECL lame_set_maskingadjust_short(lame_global_flags *, float);
00062 float CDECL lame_get_maskingadjust_short(const lame_global_flags *);
00063
00064
00065 int CDECL lame_set_ATHcurve(lame_global_flags *, float);
00066 float CDECL lame_get_ATHcurve(const lame_global_flags *);
00067
00068 int CDECL lame_set_preset_notune(lame_global_flags *, int);
00069
00070
00071 int CDECL lame_set_substep(lame_global_flags *, int);
00072 int CDECL lame_get_substep(const lame_global_flags *);
00073
00074
00075 int CDECL lame_set_sfscale(lame_global_flags *, int);
00076 int CDECL lame_get_sfscale(const lame_global_flags *);
00077
00078
00079 int CDECL lame_set_subblock_gain(lame_global_flags *, int);
00080 int CDECL lame_get_subblock_gain(const lame_global_flags *);
00081
00082
00083
00084
00085 int apply_preset(lame_global_flags *, int preset, int enforce);
00086
00087
00088
00089 #if defined(__cplusplus)
00090 }
00091 #endif
00092 #endif