load_ogg.h
author Ozkan Sezer <sezeroz@gmail.com>
Sun, 07 Oct 2018 00:08:00 +0300
branchSDL-1.2
changeset 871 284d10d87cc9
parent 518 8bc9b5fd2aae
child 601 05123263dab3
permissions -rw-r--r--
backport fix for bug #1833. (from 2.0 branch commit 7ead8213dfb0).
slouken@190
     1
/*
slouken@518
     2
  SDL_mixer:  An audio mixer library based on the SDL library
slouken@518
     3
  Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
slouken@190
     4
slouken@518
     5
  This software is provided 'as-is', without any express or implied
slouken@518
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@518
     7
  arising from the use of this software.
slouken@190
     8
slouken@518
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@518
    10
  including commercial applications, and to alter it and redistribute it
slouken@518
    11
  freely, subject to the following restrictions:
slouken@190
    12
slouken@518
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@518
    14
     claim that you wrote the original software. If you use this software
slouken@518
    15
     in a product, an acknowledgment in the product documentation would be
slouken@518
    16
     appreciated but is not required.
slouken@518
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@518
    18
     misrepresented as being the original software.
slouken@518
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@190
    20
slouken@518
    21
  This is the source needed to decode an Ogg Vorbis into a waveform.
slouken@518
    22
  This file by Vaclav Slavik (vaclav.slavik@matfyz.cz).
slouken@190
    23
*/
slouken@190
    24
slouken@190
    25
/* $Id$ */
slouken@190
    26
slouken@190
    27
#ifdef OGG_MUSIC
slouken@190
    28
/* Don't call this directly; use Mix_LoadWAV_RW() for now. */
slouken@190
    29
SDL_AudioSpec *Mix_LoadOGG_RW (SDL_RWops *src, int freesrc,
slouken@190
    30
        SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len);
slouken@190
    31
#endif