diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2014-06-26 23:41:33 +0400 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2014-06-26 23:41:33 +0400 |
commit | 3031fb0b877495e98233b2728cbb4a2bf5dbbe11 (patch) | |
tree | ef30b5623ec593531184e7cd02c6bbafb5364fa1 /plugins/ao/eng_dsf/aica.c | |
parent | 96bab4b5e72f2e044a95962f6c33a8c1f912c01f (diff) |
ao: fixed BSD linking issues
Diffstat (limited to 'plugins/ao/eng_dsf/aica.c')
-rw-r--r-- | plugins/ao/eng_dsf/aica.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ao/eng_dsf/aica.c b/plugins/ao/eng_dsf/aica.c index f504d647..02831699 100644 --- a/plugins/ao/eng_dsf/aica.c +++ b/plugins/ao/eng_dsf/aica.c @@ -402,7 +402,7 @@ void InitADPCM(int *PrevSignal, int *PrevQuant) *PrevQuant=0x7f; } -INLINE signed short DecodeADPCM(int *PrevSignal, unsigned char Delta, int *PrevQuant) +static INLINE signed short DecodeADPCM(int *PrevSignal, unsigned char Delta, int *PrevQuant) { int x = *PrevQuant * quant_mul [Delta & 15]; x = *PrevSignal + ((int)(x + ((UINT32)x >> 29)) >> 3); @@ -957,7 +957,7 @@ void AICA_TimersAddTicks(struct _AICA *AICA, int ticks) } } -INLINE INT32 AICA_UpdateSlot(struct _AICA *AICA, struct _SLOT *slot) +static INLINE INT32 AICA_UpdateSlot(struct _AICA *AICA, struct _SLOT *slot) { INT32 sample, fpart; int cur_sample; //current sample |