lame.h | lame.h | |||
---|---|---|---|---|
skipping to change at line 21 | skipping to change at line 21 | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | * GNU General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | |||
* along with this program; see the file COPYING. If not, write to | * along with this program; see the file COPYING. If not, write to | |||
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |||
*/ | */ | |||
/* $Id: lame.h,v 1.153 2004/03/23 01:57:16 olcios Exp $ */ | /* $Id: lame.h,v 1.154 2004/04/11 15:39:53 glessard Exp $ */ | |||
#ifndef LAME_LAME_H | #ifndef LAME_LAME_H | |||
#define LAME_LAME_H | #define LAME_LAME_H | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <stdarg.h> | #include <stdarg.h> | |||
#if defined(__cplusplus) | #if defined(__cplusplus) | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
skipping to change at line 285 | skipping to change at line 285 | |||
lame_set_decode_on_the_fly() && lame_set_findReplayGain() | lame_set_decode_on_the_fly() && lame_set_findReplayGain() | |||
default = 0 (disabled) */ | default = 0 (disabled) */ | |||
int CDECL lame_set_ReplayGain_decode(lame_global_flags *, int); | int CDECL lame_set_ReplayGain_decode(lame_global_flags *, int); | |||
int CDECL lame_get_ReplayGain_decode(const lame_global_flags *); | int CDECL lame_get_ReplayGain_decode(const lame_global_flags *); | |||
/* DEPRECATED: now does the same as lame_set_decode_on_the_fly() | /* DEPRECATED: now does the same as lame_set_decode_on_the_fly() | |||
default = 0 (disabled) */ | default = 0 (disabled) */ | |||
int CDECL lame_set_findPeakSample(lame_global_flags *, int); | int CDECL lame_set_findPeakSample(lame_global_flags *, int); | |||
int CDECL lame_get_findPeakSample(const lame_global_flags *); | int CDECL lame_get_findPeakSample(const lame_global_flags *); | |||
/* counters for gapless encoding */ | ||||
int CDECL lame_set_nogap_total(lame_global_flags*, int); | ||||
int CDECL lame_get_nogap_total(const lame_global_flags*); | ||||
int CDECL lame_set_nogap_currentindex(lame_global_flags* , int); | ||||
int CDECL lame_get_nogap_currentindex(const lame_global_flags*); | ||||
/* | /* | |||
* OPTIONAL: | * OPTIONAL: | |||
* Set printf like error/debug/message reporting functions. | * Set printf like error/debug/message reporting functions. | |||
* The second argument has to be a pointer to a function which looks like | * The second argument has to be a pointer to a function which looks like | |||
* void my_debugf(const char *format, va_list ap) | * void my_debugf(const char *format, va_list ap) | |||
* { | * { | |||
* (void) vfprintf(stdout, format, ap); | * (void) vfprintf(stdout, format, ap); | |||
* } | * } | |||
* If you use NULL as the value of the pointer in the set function, the | * If you use NULL as the value of the pointer in the set function, the | |||
* lame buildin function will be used (prints to stderr). | * lame buildin function will be used (prints to stderr). | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 8 lines changed or added | |||