zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
mixer_inc.c File Reference
#include "config.h"
#include "alMain.h"
#include "alSource.h"
#include "mixer_defs.h"

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)
 

Macro Definition Documentation

#define LIKELY (   x)    (x)

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.

#define MixDirect_Hrtf   MERGE2(MixDirect_Hrtf_,SUFFIX)

Definition at line 18 of file mixer_inc.c.

#define REAL_MERGE2 (   a,
  b 
)    a##b

Definition at line 15 of file mixer_inc.c.

#define UNLIKELY (   x)    (x)

Definition at line 12 of file mixer_inc.c.

Function Documentation

static __inline void ApplyCoeffs ( ALuint  Offset,
ALfloat(*)  Values[2],
const ALuint  irSize,
ALfloat(*)  Coeffs[2],
ALfloat  left,
ALfloat  right 
)
static

Referenced by MixDirect_Hrtf().

static __inline void ApplyCoeffsStep ( ALuint  Offset,
ALfloat(*)  Values[2],
const ALuint  irSize,
ALfloat(*)  Coeffs[2],
const ALfloat(*)  CoeffStep[2],
ALfloat  left,
ALfloat  right 
)
static

Referenced by MixDirect_Hrtf().