Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Move variable declaration position to stick with C standart.

  • Loading branch information
airlanggacahya committed Apr 3, 2011
1 parent bde675e commit e548e78c16855872b166f78f505992a15943aa14
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/audio/SDL_audio.c
@@ -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);

0 comments on commit e548e78

Please sign in to comment.