/* -*- mode: C; tab-width:8; c-basic-offset:8 -*- * vi:set ts=8: * * al_mixer.h * * Prototypes, macros and definitions related to the control and * execution of the mixing "thread". * * The mixing "thread" is responsible for managing playing sources, * applying the requisite filters, mixing in audio data from said sources, * etc. * */ #ifndef _AL_MIXER_H_ #define _AL_MIXER_H_ #include #include "al_siteconfig.h" /* * Number of sources for which optimized mixing functions exist. */ #ifdef USE_LIGHT_GEN_MIXING #define GENMIXSOURCES 8 #else #define GENMIXSOURCES 64 #endif /* USE_LIGHT_GEN_MIXING */ #ifdef __MMX__ #define MMXMIXSOURCES 32 #else #define MMXMIXSOURCES 0 #endif /* __MMX__ */ /* set MAXMIXSOURCES to MAX */ #if GENMIXSOURCES