zenilib
0.5.3.0
|
#include "config.h"
#include <assert.h>
#include "alMain.h"
#include "alu.h"
#include "alSource.h"
#include "alAuxEffectSlot.h"
#include "mixer_inc.c"
Go to the source code of this file.
Macros | |
#define | DECL_TEMPLATE(Sampler) |
#define | SUFFIX C |
Functions | |
static __inline void | ApplyCoeffs (ALuint Offset, ALfloat(*RESTRICT Values)[2], const ALuint IrSize, ALfloat(*RESTRICT Coeffs)[2], ALfloat left, ALfloat right) |
static __inline void | ApplyCoeffsStep (ALuint Offset, ALfloat(*RESTRICT Values)[2], const ALuint IrSize, ALfloat(*RESTRICT Coeffs)[2], const ALfloat(*RESTRICT CoeffStep)[2], ALfloat left, ALfloat right) |
static __inline ALfloat | cubic32 (const ALfloat *vals, ALuint frac) |
static __inline ALfloat | lerp32 (const ALfloat *vals, ALuint frac) |
void | MixDirect_C (const DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) |
void | MixSend_C (const SendParams *params, const ALfloat *RESTRICT data, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) |
static __inline ALfloat | point32 (const ALfloat *vals, ALuint frac) |
void | Resample_copy32_C (const ALfloat *data, ALuint frac, ALuint increment, ALfloat *RESTRICT OutBuffer, ALuint BufferSize) |
#define DECL_TEMPLATE | ( | Sampler | ) |
Definition at line 15 of file mixer_c.c.
References cubic(), and FRACTIONONE.
Definition at line 13 of file mixer_c.c.
References FRACTIONONE, and lerp().
void MixDirect_C | ( | const DirectParams * | params, |
const ALfloat *RESTRICT | data, | ||
ALuint | srcchan, | ||
ALuint | OutPos, | ||
ALuint | SamplesToDo, | ||
ALuint | BufferSize | ||
) |
Definition at line 86 of file mixer_c.c.
References BUFFERSIZE, DirectParams::ClickRemoval, DirectParams::Gains, MaxChannels, DirectParams::OutBuffer, and DirectParams::PendingClicks.
Referenced by SelectDirectMixer().
void MixSend_C | ( | const SendParams * | params, |
const ALfloat *RESTRICT | data, | ||
ALuint | OutPos, | ||
ALuint | SamplesToDo, | ||
ALuint | BufferSize | ||
) |
Definition at line 112 of file mixer_c.c.
References BUFFERSIZE, ALeffectslot::ClickRemoval, SendParams::Gain, ALeffectslot::PendingClicks, and SendParams::Slot.
Referenced by SelectSendMixer().