effects_internal.h
author Ryan C. Gordon <icculus@icculus.org>
Sun, 15 Jul 2007 15:43:02 +0000
changeset 359 83eaf245b7e7
parent 241 503416fca921
child 373 6271eafc6e70
permissions -rw-r--r--
On shutdown, deallocate global memory we might have allocated for effects.

Partially fixes Bugzilla #385.
     1 /*
     2     SDL_mixer:  An audio mixer library based on the SDL library
     3     Copyright (C) 1997-2004 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     Sam Lantinga
    20     slouken@libsdl.org
    21 */
    22 
    23 /* $Id$ */
    24 
    25 #ifndef _INCLUDE_EFFECTS_INTERNAL_H_
    26 #define _INCLUDE_EFFECTS_INTERNAL_H_
    27 
    28 #ifndef __MIX_INTERNAL_EFFECT__
    29 #error You should not include this file or use these functions.
    30 #endif
    31 
    32 #include "SDL_mixer.h"
    33 
    34 /* Set up for C function definitions, even when using C++ */
    35 #ifdef __cplusplus
    36 extern "C" {
    37 #endif
    38 
    39 extern int _Mix_effects_max_speed;
    40 extern void *_Eff_volume_table;
    41 void *_Eff_build_volume_table_u8(void);
    42 void *_Eff_build_volume_table_s8(void);
    43 
    44 void _Eff_PositionDeinit(void);
    45 
    46 /* Set up for C function definitions, even when using C++ */
    47 #ifdef __cplusplus
    48 }
    49 #endif
    50 
    51 
    52 #endif
    53