load_flac.h
author Sam Lantinga <slouken@libsdl.org>
Sun, 08 Nov 2009 18:40:07 +0000
changeset 474 a2c238c0c4b2
parent 386 695494546b3c
child 518 8bc9b5fd2aae
permissions -rw-r--r--
Don't break binary compatibility!
     1 /*
     2     SDL_mixer:  An audio mixer library based on the SDL library
     3     Copyright (C) 1997-2009 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 a FLAC into a waveform.
    20     									~ Austen Dicken (admin@cvpcs.org).
    21 */
    22 
    23 /* $Id: $ */
    24 
    25 #ifdef FLAC_MUSIC
    26 /* Don't call this directly; use Mix_LoadWAV_RW() for now. */
    27 SDL_AudioSpec *Mix_LoadFLAC_RW (SDL_RWops *src, int freesrc,
    28 		SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len);
    29 #endif