zenilib
0.5.3.0
|
Go to the source code of this file.
Macros | |
#define | LIKELY(x) (x) |
#define | MERGE2(a, b) REAL_MERGE2(a,b) |
#define | MixDirect_Hrtf MERGE2(MixDirect_Hrtf_,SUFFIX) |
#define | REAL_MERGE2(a, b) a##b |
#define | UNLIKELY(x) (x) |
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) |
void | MixDirect_Hrtf (const DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) |
Definition at line 11 of file mixer_inc.c.
Referenced by MixDirect_Hrtf().
#define MERGE2 | ( | a, | |
b | |||
) | REAL_MERGE2(a,b) |
Definition at line 16 of file mixer_inc.c.
Definition at line 18 of file mixer_inc.c.
Definition at line 12 of file mixer_inc.c.
|
static |
Referenced by MixDirect_Hrtf().
|
static |
Referenced by MixDirect_Hrtf().
void MixDirect_Hrtf | ( | const DirectParams * | params, |
const ALfloat *RESTRICT | data, | ||
ALuint | srcchan, | ||
ALuint | OutPos, | ||
ALuint | SamplesToDo, | ||
ALuint | BufferSize | ||
) |
Definition at line 32 of file mixer_inc.c.
References ApplyCoeffs(), ApplyCoeffsStep(), BUFFERSIZE, DirectParams::ClickRemoval, HrtfState::Counter, HrtfParams::Delay, HrtfParams::DelayStep, FrontLeft, FrontRight, HRIR_LENGTH, HRIR_MASK, DirectParams::Hrtf, HRTFDELAY_BITS, HRTFDELAY_FRACONE, HRTFDELAY_MASK, HrtfParams::IrSize, lerp(), LIKELY, maxu(), HrtfState::Offset, DirectParams::OutBuffer, DirectParams::Params, DirectParams::PendingClicks, SRC_HISTORY_MASK, and DirectParams::State.