effects_internal.h
author Sam Lantinga <slouken@libsdl.org>
Tue, 11 Sep 2001 19:14:36 +0000
changeset 113 c0c3018bd787
child 138 4d0dc6b4985d
permissions -rw-r--r--
Ryan C. Gordon - Tue Sep 11 12:05:54 PDT 2001
* Reworked playwave.c to make it more useful as a mixer testbed
* Added a realtime sound effect API to SDL_mixer.h
* Added the following standard sound effects:
panning, distance attenuation, basic positional audio, stereo reversal
* Added API for mixer versioning: Mix_Linked_Version() and MIX_VERSION()
     1 #ifndef _INCLUDE_EFFECTS_INTERNAL_H_
     2 #define _INCLUDE_EFFECTS_INTERNAL_H_
     3 
     4 #ifndef __MIX_INTERNAL_EFFECT__
     5 #error You should not include this file or use these functions.
     6 #endif
     7 
     8 #include "SDL_mixer.h"
     9 
    10 /* Set up for C function definitions, even when using C++ */
    11 #ifdef __cplusplus
    12 extern "C" {
    13 #endif
    14 
    15 extern int _Mix_effects_max_speed;
    16 extern void *_Eff_volume_table;
    17 void *_Eff_build_volume_table_u8(void);
    18 void *_Eff_build_volume_table_s8(void);
    19 
    20 /* Set up for C function definitions, even when using C++ */
    21 #ifdef __cplusplus
    22 }
    23 #endif
    24 
    25 
    26 #endif
    27