Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Move variable declaration position to stick with C standart.
Browse files Browse the repository at this point in the history
  • Loading branch information
airlanggacahya committed Apr 3, 2011
1 parent bde675e commit e548e78
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/audio/SDL_audio.c
Expand Up @@ -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);
Expand Down

0 comments on commit e548e78

Please sign in to comment.