slouken@138
|
1 |
/*
|
slouken@138
|
2 |
SDL_mixer: An audio mixer library based on the SDL library
|
slouken@386
|
3 |
Copyright (C) 1997-2009 Sam Lantinga
|
slouken@138
|
4 |
|
slouken@138
|
5 |
This library is free software; you can redistribute it and/or
|
slouken@138
|
6 |
modify it under the terms of the GNU Library General Public
|
slouken@138
|
7 |
License as published by the Free Software Foundation; either
|
slouken@138
|
8 |
version 2 of the License, or (at your option) any later version.
|
slouken@138
|
9 |
|
slouken@138
|
10 |
This library is distributed in the hope that it will be useful,
|
slouken@138
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
slouken@138
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
slouken@138
|
13 |
Library General Public License for more details.
|
slouken@138
|
14 |
|
slouken@138
|
15 |
You should have received a copy of the GNU Library General Public
|
slouken@138
|
16 |
License along with this library; if not, write to the Free
|
slouken@138
|
17 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
slouken@138
|
18 |
|
slouken@138
|
19 |
Sam Lantinga
|
slouken@138
|
20 |
slouken@libsdl.org
|
slouken@138
|
21 |
*/
|
slouken@138
|
22 |
|
slouken@140
|
23 |
/* $Id$ */
|
slouken@138
|
24 |
|
slouken@113
|
25 |
#ifndef _INCLUDE_EFFECTS_INTERNAL_H_
|
slouken@113
|
26 |
#define _INCLUDE_EFFECTS_INTERNAL_H_
|
slouken@113
|
27 |
|
slouken@113
|
28 |
#ifndef __MIX_INTERNAL_EFFECT__
|
slouken@113
|
29 |
#error You should not include this file or use these functions.
|
slouken@113
|
30 |
#endif
|
slouken@113
|
31 |
|
slouken@113
|
32 |
#include "SDL_mixer.h"
|
slouken@113
|
33 |
|
slouken@113
|
34 |
/* Set up for C function definitions, even when using C++ */
|
slouken@113
|
35 |
#ifdef __cplusplus
|
slouken@113
|
36 |
extern "C" {
|
slouken@113
|
37 |
#endif
|
slouken@113
|
38 |
|
slouken@113
|
39 |
extern int _Mix_effects_max_speed;
|
slouken@113
|
40 |
extern void *_Eff_volume_table;
|
slouken@113
|
41 |
void *_Eff_build_volume_table_u8(void);
|
slouken@113
|
42 |
void *_Eff_build_volume_table_s8(void);
|
slouken@113
|
43 |
|
slouken@373
|
44 |
void _Mix_InitEffects(void);
|
slouken@373
|
45 |
void _Mix_DeinitEffects(void);
|
icculus@359
|
46 |
void _Eff_PositionDeinit(void);
|
icculus@359
|
47 |
|
icculus@442
|
48 |
int _Mix_RegisterEffect_locked(int channel, Mix_EffectFunc_t f,
|
icculus@442
|
49 |
Mix_EffectDone_t d, void *arg);
|
icculus@442
|
50 |
int _Mix_UnregisterEffect_locked(int channel, Mix_EffectFunc_t f);
|
icculus@442
|
51 |
int _Mix_UnregisterAllEffects_locked(int channel);
|
icculus@442
|
52 |
|
icculus@442
|
53 |
|
slouken@113
|
54 |
/* Set up for C function definitions, even when using C++ */
|
slouken@113
|
55 |
#ifdef __cplusplus
|
slouken@113
|
56 |
}
|
slouken@113
|
57 |
#endif
|
slouken@113
|
58 |
|
slouken@113
|
59 |
|
slouken@113
|
60 |
#endif
|
slouken@113
|
61 |
|