effects_internal.h
author Sam Lantinga <slouken@libsdl.org>
Wed, 19 Jun 2019 10:24:19 -0700
changeset 927 04bffe28ef12
parent 926 d6c9518fb5ee
permissions -rw-r--r--
Fixed building DMG archive on Mac OS X
     1 /*
     2   SDL_mixer:  An audio mixer library based on the SDL library
     3   Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
     4 
     5   This software is provided 'as-is', without any express or implied
     6   warranty.  In no event will the authors be held liable for any damages
     7   arising from the use of this software.
     8 
     9   Permission is granted to anyone to use this software for any purpose,
    10   including commercial applications, and to alter it and redistribute it
    11   freely, subject to the following restrictions:
    12 
    13   1. The origin of this software must not be misrepresented; you must not
    14      claim that you wrote the original software. If you use this software
    15      in a product, an acknowledgment in the product documentation would be
    16      appreciated but is not required.
    17   2. Altered source versions must be plainly marked as such, and must not be
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    21 
    22 /* $Id$ */
    23 
    24 #ifndef _INCLUDE_EFFECTS_INTERNAL_H_
    25 #define _INCLUDE_EFFECTS_INTERNAL_H_
    26 
    27 #ifndef __MIX_INTERNAL_EFFECT__
    28 #error You should not include this file or use these functions.
    29 #endif
    30 
    31 #include "SDL_mixer.h"
    32 
    33 extern int _Mix_effects_max_speed;
    34 extern void *_Eff_volume_table;
    35 void *_Eff_build_volume_table_u8(void);
    36 void *_Eff_build_volume_table_s8(void);
    37 
    38 void _Mix_InitEffects(void);
    39 void _Mix_DeinitEffects(void);
    40 void _Eff_PositionDeinit(void);
    41 
    42 int _Mix_RegisterEffect_locked(int channel, Mix_EffectFunc_t f,
    43                                Mix_EffectDone_t d, void *arg);
    44 int _Mix_UnregisterEffect_locked(int channel, Mix_EffectFunc_t f);
    45 int _Mix_UnregisterAllEffects_locked(int channel);
    46 
    47 #endif /* _INCLUDE_EFFECTS_INTERNAL_H_ */
    48 
    49 /* vi: set ts=4 sw=4 expandtab: */