|
Packit |
47f805 |
/*
|
|
Packit |
47f805 |
* set_get.h -- Internal set/get definitions
|
|
Packit |
47f805 |
*
|
|
Packit |
47f805 |
* Copyright (C) 2003 Gabriel Bouvigne / Lame project
|
|
Packit |
47f805 |
*
|
|
Packit |
47f805 |
* This library is free software; you can redistribute it and/or
|
|
Packit |
47f805 |
* modify it under the terms of the GNU Library General Public
|
|
Packit |
47f805 |
* License as published by the Free Software Foundation; either
|
|
Packit |
47f805 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
47f805 |
*
|
|
Packit |
47f805 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
47f805 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
47f805 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
47f805 |
* Library General Public License for more details.
|
|
Packit |
47f805 |
*
|
|
Packit |
47f805 |
* You should have received a copy of the GNU Library General Public
|
|
Packit |
47f805 |
* License along with this library; if not, write to the Free Software
|
|
Packit |
47f805 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
|
Packit |
47f805 |
*/
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
#ifndef __SET_GET_H__
|
|
Packit |
47f805 |
#define __SET_GET_H__
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
#include <lame.h>
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
#if defined(__cplusplus)
|
|
Packit |
47f805 |
extern "C" {
|
|
Packit |
47f805 |
#endif
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
/* select psychoacoustic model */
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
/* manage short blocks */
|
|
Packit |
47f805 |
int CDECL lame_set_short_threshold(lame_global_flags *, float, float);
|
|
Packit |
47f805 |
int CDECL lame_set_short_threshold_lrm(lame_global_flags *, float);
|
|
Packit |
47f805 |
float CDECL lame_get_short_threshold_lrm(const lame_global_flags *);
|
|
Packit |
47f805 |
int CDECL lame_set_short_threshold_s(lame_global_flags *, float);
|
|
Packit |
47f805 |
float CDECL lame_get_short_threshold_s(const lame_global_flags *);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
int CDECL lame_set_maskingadjust(lame_global_flags *, float);
|
|
Packit |
47f805 |
float CDECL lame_get_maskingadjust(const lame_global_flags *);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
int CDECL lame_set_maskingadjust_short(lame_global_flags *, float);
|
|
Packit |
47f805 |
float CDECL lame_get_maskingadjust_short(const lame_global_flags *);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
/* select ATH formula 4 shape */
|
|
Packit |
47f805 |
int CDECL lame_set_ATHcurve(lame_global_flags *, float);
|
|
Packit |
47f805 |
float CDECL lame_get_ATHcurve(const lame_global_flags *);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
int CDECL lame_set_preset_notune(lame_global_flags *, int);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
/* substep shaping method */
|
|
Packit |
47f805 |
int CDECL lame_set_substep(lame_global_flags *, int);
|
|
Packit |
47f805 |
int CDECL lame_get_substep(const lame_global_flags *);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
/* scalefactors scale */
|
|
Packit |
47f805 |
int CDECL lame_set_sfscale(lame_global_flags *, int);
|
|
Packit |
47f805 |
int CDECL lame_get_sfscale(const lame_global_flags *);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
/* subblock gain */
|
|
Packit |
47f805 |
int CDECL lame_set_subblock_gain(lame_global_flags *, int);
|
|
Packit |
47f805 |
int CDECL lame_get_subblock_gain(const lame_global_flags *);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
/*presets*/
|
|
Packit |
47f805 |
int apply_preset(lame_global_flags *, int preset, int enforce);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
void CDECL lame_set_tune(lame_t, float); /* FOR INTERNAL USE ONLY */
|
|
Packit |
47f805 |
void CDECL lame_set_msfix(lame_t gfp, double msfix);
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
|
|
Packit |
47f805 |
#if defined(__cplusplus)
|
|
Packit |
47f805 |
}
|
|
Packit |
47f805 |
#endif
|
|
Packit |
47f805 |
#endif
|