From 044d53c74f48ed57143503cef6b4181e4eca6d1b Mon Sep 17 00:00:00 2001 From: RadWolfie Date: Thu, 2 Jan 2020 22:36:00 -0600 Subject: [PATCH] HOTFIX: add static in XADPCM.h file --- src/common/XADPCM.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/XADPCM.h b/src/common/XADPCM.h index e30dec42f..c37d1c76b 100644 --- a/src/common/XADPCM.h +++ b/src/common/XADPCM.h @@ -93,7 +93,7 @@ const static int8_t IndexTable[16] = { -1, -1, -1, -1, 2, 4, 6, 8 }; -int TXboxAdpcmDecoder_DecodeSample(int Code, TAdpcmState *State) { +static int TXboxAdpcmDecoder_DecodeSample(int Code, TAdpcmState *State) { int Delta, Result; @@ -111,7 +111,7 @@ int TXboxAdpcmDecoder_DecodeSample(int Code, TAdpcmState *State) { return(Result); } -int TXboxAdpcmDecoder_Decode_Memory(uint8_t *in, int inlen, uint8_t *out, const int FChannels) { +static int TXboxAdpcmDecoder_Decode_Memory(uint8_t *in, int inlen, uint8_t *out, const int FChannels) { TAdpcmState FAdpcmState[2]; int16_t Buffers[2][8]; uint32_t CodeBuf; @@ -150,7 +150,7 @@ int TXboxAdpcmDecoder_Decode_Memory(uint8_t *in, int inlen, uint8_t *out, const } return(outlen * XBOX_ADPCM_DSTSIZE * FChannels); } -int TXboxAdpcmDecoder_guess_output_size(int SourceSize) { +static int TXboxAdpcmDecoder_guess_output_size(int SourceSize) { return((SourceSize / XBOX_ADPCM_SRCSIZE) * XBOX_ADPCM_DSTSIZE); }