LMMS
Loading...
Searching...
No Matches
Effects_Buffer.cpp File Reference
#include "Effects_Buffer.h"
#include <string.h>
#include "blargg_source.h"

Macros

#define TO_FIXED(f)
#define FMUL(x, y)

Typedefs

typedef blargg_long fixed_t

Functions

 BOOST_STATIC_ASSERT ((echo_size &echo_mask)==0)
 BOOST_STATIC_ASSERT ((reverb_size &reverb_mask)==0)
int pin_range (int n, int max, int min=0)

Variables

const unsigned echo_size = 4096
const unsigned echo_mask = echo_size - 1
const unsigned reverb_size = 8192 * 2
const unsigned reverb_mask = reverb_size - 1

Macro Definition Documentation

◆ FMUL

#define FMUL ( x,
y )
Value:
(((x) * (y)) >> 15)
int y
Definition inflate.c:1588
unsigned x[BMAX+1]
Definition inflate.c:1586

◆ TO_FIXED

#define TO_FIXED ( f)
Value:
fixed_t ((f) * (1L << 15) + 0.5)
blargg_long fixed_t
Definition Effects_Buffer.cpp:24
unsigned f
Definition inflate.c:1572

Typedef Documentation

◆ fixed_t

typedef blargg_long fixed_t

Function Documentation

◆ BOOST_STATIC_ASSERT() [1/2]

BOOST_STATIC_ASSERT ( (echo_size &echo_mask) = =0)

◆ BOOST_STATIC_ASSERT() [2/2]

BOOST_STATIC_ASSERT ( (reverb_size &reverb_mask) = =0)

◆ pin_range()

int pin_range ( int n,
int max,
int min = 0 )
inline

Variable Documentation

◆ echo_mask

const unsigned echo_mask = echo_size - 1

◆ echo_size

const unsigned echo_size = 4096

◆ reverb_mask

const unsigned reverb_mask = reverb_size - 1

◆ reverb_size

const unsigned reverb_size = 8192 * 2