src/audio/SDL_audio.c
changeset 5526 5645b3a5dc03
parent 5509 5b1b4d820d10
child 5535 96594ac5fd1a
--- a/src/audio/SDL_audio.c	Tue Mar 29 03:05:26 2011 -0700
+++ b/src/audio/SDL_audio.c	Sun Apr 03 18:24:27 2011 +0700
@@ -328,14 +328,13 @@
     void (SDLCALL * fill) (void *userdata, Uint8 * stream, int len);
     int silence;
     Uint32 delay;
+    /* 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);
 
-    /* For streaming when the buffer sizes don't match up */
-    Uint8 *istream;
-    int istream_len = 0;
-
     /* Perform any thread setup */
     device->threadid = SDL_ThreadID();
     current_audio.impl.ThreadInit(device);