~ubuntu-branches/ubuntu/karmic/frozen-bubble/karmic

« back to all changes in this revision

Viewing changes to SDL_mixer_patched/load_aiff.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2002-04-17 09:21:51 UTC
  • Revision ID: james.westby@ubuntu.com-20020417092151-7ye6ril7bgg9g0he
Tags: upstream-0.9.2
Import upstream version 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    SDL_mixer:  An audio mixer library based on the SDL library
 
3
    Copyright (C) 1997, 1998, 1999, 2000, 2001  Sam Lantinga
 
4
 
 
5
    This library is free software; you can redistribute it and/or
 
6
    modify it under the terms of the GNU Library General Public
 
7
    License as published by the Free Software Foundation; either
 
8
    version 2 of the License, or (at your option) any later version.
 
9
 
 
10
    This library is distributed in the hope that it will be useful,
 
11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
    Library General Public License for more details.
 
14
 
 
15
    You should have received a copy of the GNU Library General Public
 
16
    License along with this library; if not, write to the Free
 
17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
18
 
 
19
    This is the source needed to decode an AIFF file into a waveform.
 
20
    It's pretty straightforward once you get going. The only
 
21
    externally-callable function is Mix_LoadAIFF_RW(), which is meant to
 
22
    act as identically to SDL_LoadWAV_RW() as possible.
 
23
 
 
24
    This file by Torbj�rn Andersson (torbjorn.andersson@eurotime.se)
 
25
*/
 
26
 
 
27
/* $Id: load_aiff.h,v 1.2 2001/12/14 12:56:55 slouken Exp $ */
 
28
 
 
29
/* Don't call this directly; use Mix_LoadWAV_RW() for now. */
 
30
SDL_AudioSpec *Mix_LoadAIFF_RW (SDL_RWops *src, int freesrc,
 
31
        SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len);