summaryrefslogtreecommitdiff
path: root/plugins/ao/eng_psf/peops2/reverb2.c
diff options
context:
space:
mode:
authorGravatar Lithopsian <deadbeef@nartowicz.co.uk>2014-07-06 17:04:02 +0100
committerGravatar Lithopsian <deadbeef@nartowicz.co.uk>2014-07-06 17:04:02 +0100
commit3c8b29056cb4e68067f475ee6653640b199087df (patch)
treeaa9e019475dc3e5183c4c8440ea7c0d8c91ee001 /plugins/ao/eng_psf/peops2/reverb2.c
parent6cd87a40c3a3da1ff8ecdc0f8b980cec38de84aa (diff)
parentd012d39f4d256d43cd5e2d95a96f4868fbedd464 (diff)
Merge pull request #8 from Alexey-Yakovenko/master
Resync
Diffstat (limited to 'plugins/ao/eng_psf/peops2/reverb2.c')
-rw-r--r--plugins/ao/eng_psf/peops2/reverb2.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/ao/eng_psf/peops2/reverb2.c b/plugins/ao/eng_psf/peops2/reverb2.c
index ceab8c54..f8a80661 100644
--- a/plugins/ao/eng_psf/peops2/reverb2.c
+++ b/plugins/ao/eng_psf/peops2/reverb2.c
@@ -51,7 +51,7 @@
// START REVERB
////////////////////////////////////////////////////////////////////////
-INLINE void StartREVERB(spu2_state_t *spu, int ch)
+static INLINE void StartREVERB(spu2_state_t *spu, int ch)
{
int core=ch/24;
@@ -66,7 +66,7 @@ INLINE void StartREVERB(spu2_state_t *spu, int ch)
// HELPER FOR NEILL'S REVERB: re-inits our reverb mixing buf
////////////////////////////////////////////////////////////////////////
-INLINE void InitREVERB(spu2_state_t *spu)
+static INLINE void InitREVERB(spu2_state_t *spu)
{
if(spu->iUseReverb==1)
{
@@ -79,7 +79,7 @@ INLINE void InitREVERB(spu2_state_t *spu)
// STORE REVERB
////////////////////////////////////////////////////////////////////////
-INLINE void StoreREVERB(spu2_state_t *spu, int ch,int ns)
+static INLINE void StoreREVERB(spu2_state_t *spu, int ch,int ns)
{
int core=ch/24;
@@ -99,7 +99,7 @@ INLINE void StoreREVERB(spu2_state_t *spu, int ch,int ns)
////////////////////////////////////////////////////////////////////////
-INLINE int g_buffer(spu2_state_t *spu, int iOff,int core) // get_buffer content helper: takes care about wraps
+static INLINE int g_buffer(spu2_state_t *spu, int iOff,int core) // get_buffer content helper: takes care about wraps
{
short * p=(short *)spu->spuMem;
iOff=(iOff)+spu->rvb[core].CurrAddr;
@@ -110,7 +110,7 @@ INLINE int g_buffer(spu2_state_t *spu, int iOff,int core) // g
////////////////////////////////////////////////////////////////////////
-INLINE void s_buffer(spu2_state_t *spu, int iOff,int iVal,int core) // set_buffer content helper: takes care about wraps and clipping
+static INLINE void s_buffer(spu2_state_t *spu, int iOff,int iVal,int core) // set_buffer content helper: takes care about wraps and clipping
{
short * p=(short *)spu->spuMem;
iOff=(iOff)+spu->rvb[core].CurrAddr;
@@ -122,7 +122,7 @@ INLINE void s_buffer(spu2_state_t *spu, int iOff,int iVal,int core) // se
////////////////////////////////////////////////////////////////////////
-INLINE void s_buffer1(spu2_state_t *spu, int iOff,int iVal,int core) // set_buffer (+1 sample) content helper: takes care about wraps and clipping
+static INLINE void s_buffer1(spu2_state_t *spu, int iOff,int iVal,int core) // set_buffer (+1 sample) content helper: takes care about wraps and clipping
{
short * p=(short *)spu->spuMem;
iOff=(iOff)+spu->rvb[core].CurrAddr+1;
@@ -134,7 +134,7 @@ INLINE void s_buffer1(spu2_state_t *spu, int iOff,int iVal,int core) // set
////////////////////////////////////////////////////////////////////////
-INLINE int MixREVERBLeft(spu2_state_t *spu, int ns,int core)
+static INLINE int MixREVERBLeft(spu2_state_t *spu, int ns,int core)
{
if(spu->iUseReverb==1)
{
@@ -221,7 +221,7 @@ INLINE int MixREVERBLeft(spu2_state_t *spu, int ns,int core)
////////////////////////////////////////////////////////////////////////
-INLINE int MixREVERBRight(spu2_state_t *spu, int core)
+static INLINE int MixREVERBRight(spu2_state_t *spu, int core)
{
if(spu->iUseReverb==1) // Neill's reverb:
{