Move variable declaration position to stick with C standart.
This commit is contained in:
parent
e17ed1c762
commit
932c46e9ca
1 changed files with 3 additions and 4 deletions
|
@ -328,14 +328,13 @@ SDL_RunAudio(void *devicep)
|
||||||
void (SDLCALL * fill) (void *userdata, Uint8 * stream, int len);
|
void (SDLCALL * fill) (void *userdata, Uint8 * stream, int len);
|
||||||
int silence;
|
int silence;
|
||||||
Uint32 delay;
|
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 */
|
/* For streaming when the buffer sizes don't match up */
|
||||||
Uint8 *istream;
|
Uint8 *istream;
|
||||||
int istream_len = 0;
|
int istream_len = 0;
|
||||||
|
|
||||||
|
/* The audio mixing is always a high priority thread */
|
||||||
|
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
|
||||||
|
|
||||||
/* Perform any thread setup */
|
/* Perform any thread setup */
|
||||||
device->threadid = SDL_ThreadID();
|
device->threadid = SDL_ThreadID();
|
||||||
current_audio.impl.ThreadInit(device);
|
current_audio.impl.ThreadInit(device);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue