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()
slouken@113
     1
#ifndef _INCLUDE_EFFECTS_INTERNAL_H_
slouken@113
     2
#define _INCLUDE_EFFECTS_INTERNAL_H_
slouken@113
     3
slouken@113
     4
#ifndef __MIX_INTERNAL_EFFECT__
slouken@113
     5
#error You should not include this file or use these functions.
slouken@113
     6
#endif
slouken@113
     7
slouken@113
     8
#include "SDL_mixer.h"
slouken@113
     9
slouken@113
    10
/* Set up for C function definitions, even when using C++ */
slouken@113
    11
#ifdef __cplusplus
slouken@113
    12
extern "C" {
slouken@113
    13
#endif
slouken@113
    14
slouken@113
    15
extern int _Mix_effects_max_speed;
slouken@113
    16
extern void *_Eff_volume_table;
slouken@113
    17
void *_Eff_build_volume_table_u8(void);
slouken@113
    18
void *_Eff_build_volume_table_s8(void);
slouken@113
    19
slouken@113
    20
/* Set up for C function definitions, even when using C++ */
slouken@113
    21
#ifdef __cplusplus
slouken@113
    22
}
slouken@113
    23
#endif
slouken@113
    24
slouken@113
    25
slouken@113
    26
#endif
slouken@113
    27