zenilib
0.5.3.0
|
#include "config.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#include "alMain.h"
#include "AL/al.h"
#include "AL/alc.h"
#include "alSource.h"
#include "alBuffer.h"
#include "alListener.h"
#include "alAuxEffectSlot.h"
#include "alu.h"
#include "bs2b.h"
Go to the source code of this file.
Macros | |
#define | DECL_TEMPLATE(T) |
Functions | |
static void | Filter2P (FILTER *filter, ALuint chan, ALfloat *RESTRICT dst, const ALfloat *RESTRICT src, ALuint numsamples) |
static void | LoadData (ALfloat *dst, const ALvoid *src, ALuint srcstep, enum FmtType srctype, ALuint samples) |
ALvoid | MixSource (ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) |
static __inline ALfloat | Sample_ALbyte (ALbyte val) |
static __inline ALfloat | Sample_ALfloat (ALfloat val) |
static __inline ALfloat | Sample_ALshort (ALshort val) |
static void | SilenceData (ALfloat *dst, ALuint samples) |
#define DECL_TEMPLATE | ( | T | ) |
|
static |
Definition at line 87 of file mixer.c.
References i, lpFilter2P(), and lpFilter2PC().
Referenced by MixSource().
Definition at line 97 of file mixer.c.
References AL_FALSE, AL_PLAYING, AL_STATIC, AL_STOPPED, ALbufferlistitem::buffer, ALsource::BuffersInQueue, BUFFERSIZE, ALsource::BuffersPlayed, HrtfState::Counter, ALbuffer::data, ALsource::Direct, ALsource::DryMix, Filter2P(), ALbuffer::FmtType, FRACTIONBITS, FRACTIONMASK, FRACTIONONE, ALsource::Hrtf, DirectParams::iirFilter, SendParams::iirFilter, j, LoadData(), ALbuffer::LoopEnd, ALsource::Looping, ALbuffer::LoopStart, maxu(), mini64(), minu(), HrtfState::Moving, ALbufferlistitem::next, NULL, ALCdevice_struct::NumAuxSends, ALsource::NumChannels, HrtfState::Offset, ALsource::Params, PointResampler, ALsource::position, ALsource::position_fraction, ALbufferlistitem::prev, ALsource::queue, ALsource::Resample, ALsource::Resampler, ResamplerPadding, ResamplerPrePadding, ALbuffer::SampleLen, ALsource::SampleSize, ALsource::Send, SilenceData(), SendParams::Slot, ALsource::SourceType, ALsource::state, ALsource::Step, and ALsource::WetMix.
Referenced by aluMixData().
OpenAL cross platform audio library Copyright (C) 1999-2007 by authors. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Or go to http://www.gnu.org/copyleft/lgpl.html