~ubuntu-branches/ubuntu/lucid/lastfm/lucid

« back to all changes in this revision

Viewing changes to src/mp3transcode/mpglib/interface.h

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2007-12-31 09:49:54 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071231094954-ix1amvcsj9pk61ya
Tags: 1:1.4.1.57486.dfsg-1ubuntu1
* Merge from Debian unstable (LP: #180254), remaining changes:
  - debian/rules;
    - Added dh_icons
  - Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
** Copyright (C) 2000 Albert L. Faber
3
 
**  
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.
8
 
** 
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.
13
 
** 
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.
17
 
*/
18
 
 
19
 
#ifndef INTERFACE_H_INCLUDED
20
 
#define INTERFACE_H_INCLUDED
21
 
 
22
 
#ifdef __cplusplus
23
 
extern "C" {
24
 
#endif
25
 
 
26
 
#include "common.h"
27
 
 
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);
31
 
 
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);
36
 
 
37
 
/* added remove_buf to support mpglib seeking */
38
 
void remove_buf(PMPSTR mp);
39
 
 
40
 
#ifdef __cplusplus
41
 
}
42
 
#endif
43
 
 
44
 
#endif
45