load_flac.h
author Sam Lantinga <slouken@libsdl.org>
Sat, 03 Oct 2009 20:43:33 +0000
changeset 419 e27fe0bfe470
parent 386 695494546b3c
child 518 8bc9b5fd2aae
permissions -rw-r--r--
Sam Lantinga - Sat Oct 3 13:33:36 PDT 2009
* MOD support uses libmikmod and is dynamically loaded by default
slouken@382
     1
/*
slouken@382
     2
    SDL_mixer:  An audio mixer library based on the SDL library
slouken@386
     3
    Copyright (C) 1997-2009 Sam Lantinga
slouken@382
     4
slouken@382
     5
    This library is free software; you can redistribute it and/or
slouken@382
     6
    modify it under the terms of the GNU Library General Public
slouken@382
     7
    License as published by the Free Software Foundation; either
slouken@382
     8
    version 2 of the License, or (at your option) any later version.
slouken@382
     9
slouken@382
    10
    This library is distributed in the hope that it will be useful,
slouken@382
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@382
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@382
    13
    Library General Public License for more details.
slouken@382
    14
slouken@382
    15
    You should have received a copy of the GNU Library General Public
slouken@382
    16
    License along with this library; if not, write to the Free
slouken@382
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
slouken@382
    18
slouken@382
    19
    This is the source needed to decode a FLAC into a waveform.
slouken@382
    20
    									~ Austen Dicken (admin@cvpcs.org).
slouken@382
    21
*/
slouken@382
    22
slouken@382
    23
/* $Id: $ */
slouken@382
    24
slouken@382
    25
#ifdef FLAC_MUSIC
slouken@382
    26
/* Don't call this directly; use Mix_LoadWAV_RW() for now. */
slouken@382
    27
SDL_AudioSpec *Mix_LoadFLAC_RW (SDL_RWops *src, int freesrc,
slouken@382
    28
		SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len);
slouken@382
    29
#endif