Commit 932c46e9 authored by Airlangga Cahya Utama's avatar Airlangga Cahya Utama

Move variable declaration position to stick with C standart.

parent e17ed1c7
......@@ -328,14 +328,13 @@ SDL_RunAudio(void *devicep)
void (SDLCALL * fill) (void *userdata, Uint8 * stream, int len);
int silence;
Uint32 delay;
/* The audio mixing is always a high priority thread */
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
/* For streaming when the buffer sizes don't match up */
Uint8 *istream;
int istream_len = 0;
/* The audio mixing is always a high priority thread */
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
/* Perform any thread setup */
device->threadid = SDL_ThreadID();
current_audio.impl.ThreadInit(device);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment