From 6d3f249dcc746cc7845ef88ddb8ce3bcc9221aca Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 8 Jul 2014 15:58:25 +0200 Subject: mark all local variables as static --- Source/Core/AudioCommon/DPL2Decoder.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'Source/Core/AudioCommon/DPL2Decoder.cpp') diff --git a/Source/Core/AudioCommon/DPL2Decoder.cpp b/Source/Core/AudioCommon/DPL2Decoder.cpp index 883584e650..c82a160b29 100644 --- a/Source/Core/AudioCommon/DPL2Decoder.cpp +++ b/Source/Core/AudioCommon/DPL2Decoder.cpp @@ -23,18 +23,18 @@ #define M_SQRT1_2 0.70710678118654752440 #endif -int olddelay = -1; -unsigned int oldfreq = 0; -unsigned int dlbuflen; -int cyc_pos; -float l_fwr, r_fwr, lpr_fwr, lmr_fwr; -std::vector fwrbuf_l, fwrbuf_r; -float adapt_l_gain, adapt_r_gain, adapt_lpr_gain, adapt_lmr_gain; -std::vector lf, rf, lr, rr, cf, cr; -float LFE_buf[256]; -unsigned int lfe_pos; -float *filter_coefs_lfe; -unsigned int len125; +static int olddelay = -1; +static unsigned int oldfreq = 0; +static unsigned int dlbuflen; +static int cyc_pos; +static float l_fwr, r_fwr, lpr_fwr, lmr_fwr; +static std::vector fwrbuf_l, fwrbuf_r; +static float adapt_l_gain, adapt_r_gain, adapt_lpr_gain, adapt_lmr_gain; +static std::vector lf, rf, lr, rr, cf, cr; +static float LFE_buf[256]; +static unsigned int lfe_pos; +static float *filter_coefs_lfe; +static unsigned int len125; template static _ftype_t dotproduct(int count,const T *buf,const _ftype_t *coefficients) { -- cgit v1.2.3