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