Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /*
  2.   SDL_mixer:  An audio mixer library based on the SDL library
  3.   Copyright (C) 1997-2012 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. /* Set up for C function definitions, even when using C++ */
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37.  
  38. extern int _Mix_effects_max_speed;
  39. extern void *_Eff_volume_table;
  40. void *_Eff_build_volume_table_u8(void);
  41. void *_Eff_build_volume_table_s8(void);
  42.  
  43. void _Mix_InitEffects(void);
  44. void _Mix_DeinitEffects(void);
  45. void _Eff_PositionDeinit(void);
  46.  
  47. int _Mix_RegisterEffect_locked(int channel, Mix_EffectFunc_t f,
  48.                                Mix_EffectDone_t d, void *arg);
  49. int _Mix_UnregisterEffect_locked(int channel, Mix_EffectFunc_t f);
  50. int _Mix_UnregisterAllEffects_locked(int channel);
  51.  
  52.  
  53. /* Set up for C function definitions, even when using C++ */
  54. #ifdef __cplusplus
  55. }
  56. #endif
  57.  
  58.  
  59. #endif
  60.  
  61.