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