1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-31 01:21:03 +00:00

Make stb_vorbis C89-compatible

This commit is contained in:
twinaphex 2017-02-23 05:23:34 +01:00
parent 22223fa6c4
commit 8de102e607
2 changed files with 967 additions and 1130 deletions

@ -32,11 +32,6 @@
#undef NULL
#ifdef __MINGW32__
#undef __forceinline
#define __forceinline __inline__ __attribute__((__always_inline__,__gnu_inline__))
#endif
#include "../deps/stb/stb_vorbis.h"
/*---------------------------------------------------------------------------*/
@ -527,7 +522,8 @@ again:
}
else
{
for ( int i = buf_free; i != 0; --i )
int i;
for (i = buf_free; i != 0; --i )
*buffer++ += *pcm++ * volume;
voice->types.ogg.position += buf_free;

2089
deps/stb/stb_vorbis.h vendored

File diff suppressed because it is too large Load Diff