2
** Copyright (C) 2000 Albert L. Faber
4
** This program is free software; you can redistribute it and/or modify
5
** it under the terms of the GNU General Public License as published by
6
** the Free Software Foundation; either version 2 of the License, or
7
** (at your option) any later version.
9
** This program is distributed in the hope that it will be useful,
10
** but WITHOUT ANY WARRANTY; without even the implied warranty of
11
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
** GNU General Public License for more details.
14
** You should have received a copy of the GNU General Public License
15
** along with this program; if not, write to the Free Software
16
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
#ifndef INTERFACE_H_INCLUDED
20
#define INTERFACE_H_INCLUDED
28
BOOL InitMP3(PMPSTR mp);
29
int decodeMP3(PMPSTR mp,unsigned char *inmemory,int inmemsize,char *outmemory,int outmemsize,int *done);
30
void ExitMP3(PMPSTR mp);
32
/* added decodeMP3_unclipped to support returning raw floating-point values of samples. The representation
33
of the floating-point numbers is defined in mpg123.h as #define real. It is 64-bit double by default.
34
No more than 1152 samples per channel are allowed. */
35
int decodeMP3_unclipped(PMPSTR mp,unsigned char *inmemory,int inmemsize,char *outmemory,int outmemsize,int *done);
37
/* added remove_buf to support mpglib seeking */
38
void remove_buf(PMPSTR mp);