load_aiff.h
author Sam Lantinga <slouken@libsdl.org>
Wed, 07 Nov 2018 07:47:50 -0800
changeset 924 9be60a9582a6
parent 848 3907db698eb5
child 926 d6c9518fb5ee
permissions -rw-r--r--
The Debian maintainers aren't using these rules, so enable dynamic loading of shared libraries by default for the Steam Linux Runtime
slouken@111
     1
/*
slouken@635
     2
  SDL_mixer:  An audio mixer library based on the SDL library
slouken@848
     3
  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
slouken@111
     4
slouken@635
     5
  This software is provided 'as-is', without any express or implied
slouken@635
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@635
     7
  arising from the use of this software.
slouken@111
     8
slouken@635
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@635
    10
  including commercial applications, and to alter it and redistribute it
slouken@635
    11
  freely, subject to the following restrictions:
slouken@111
    12
slouken@635
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@635
    14
     claim that you wrote the original software. If you use this software
slouken@635
    15
     in a product, an acknowledgment in the product documentation would be
slouken@635
    16
     appreciated but is not required.
slouken@635
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@635
    18
     misrepresented as being the original software.
slouken@635
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@111
    20
slouken@111
    21
    This is the source needed to decode an AIFF file into a waveform.
slouken@111
    22
    It's pretty straightforward once you get going. The only
slouken@111
    23
    externally-callable function is Mix_LoadAIFF_RW(), which is meant to
slouken@111
    24
    act as identically to SDL_LoadWAV_RW() as possible.
slouken@111
    25
slouken@111
    26
    This file by Torbjrn Andersson (torbjorn.andersson@eurotime.se)
slouken@111
    27
*/
slouken@111
    28
slouken@111
    29
/* Don't call this directly; use Mix_LoadWAV_RW() for now. */
slouken@111
    30
SDL_AudioSpec *Mix_LoadAIFF_RW (SDL_RWops *src, int freesrc,
slouken@617
    31
    SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len);
slouken@777
    32
slouken@777
    33
/* vi: set ts=4 sw=4 expandtab: */