Move variable declaration position to stick with C standart.

This commit is contained in:
Airlangga Cahya Utama 2011-04-03 18:24:27 +07:00
parent e17ed1c762
commit 932c46e9ca

View file

@ -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);