effects_internal.h
author Sam Lantinga <slouken@libsdl.org>
Sun, 08 Nov 2009 18:40:07 +0000
changeset 474 a2c238c0c4b2
parent 442 884a700fb3ff
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     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 _Mix_InitEffects(void);
    45 void _Mix_DeinitEffects(void);
    46 void _Eff_PositionDeinit(void);
    47 
    48 int _Mix_RegisterEffect_locked(int channel, Mix_EffectFunc_t f,
    49                                Mix_EffectDone_t d, void *arg);
    50 int _Mix_UnregisterEffect_locked(int channel, Mix_EffectFunc_t f);
    51 int _Mix_UnregisterAllEffects_locked(int channel);
    52 
    53 
    54 /* Set up for C function definitions, even when using C++ */
    55 #ifdef __cplusplus
    56 }
    57 #endif
    58 
    59 
    60 #endif
    61