comparison src/audio/SDL_audio.c @ 1487:dc6b59e925a2

Cleaning up warnings on MacOS X
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Mar 2006 06:33:21 +0000
parents e3242177fe4a
children 30f189cdd82b
comparison
equal deleted inserted replaced
1486:9d77fc9d0ace 1487:dc6b59e925a2
27 #include "SDL_audio_c.h" 27 #include "SDL_audio_c.h"
28 #include "SDL_audiomem.h" 28 #include "SDL_audiomem.h"
29 #include "SDL_sysaudio.h" 29 #include "SDL_sysaudio.h"
30 30
31 #ifdef __OS2__ 31 #ifdef __OS2__
32 // We'll need the DosSetPriority() API! 32 /* We'll need the DosSetPriority() API! */
33 #define INCL_DOSPROCESS 33 #define INCL_DOSPROCESS
34 #include <os2.h> 34 #include <os2.h>
35 #endif 35 #endif
36 36
37 /* Available audio drivers */ 37 /* Available audio drivers */
176 SDL_mutexV(audio->mixer_lock); 176 SDL_mutexV(audio->mixer_lock);
177 D(bug("Entering audio loop...\n")); 177 D(bug("Entering audio loop...\n"));
178 #endif 178 #endif
179 179
180 #ifdef __OS2__ 180 #ifdef __OS2__
181 // Increase the priority of this thread to make sure that 181 /* Increase the priority of this thread to make sure that
182 // the audio will be continuous all the time! 182 the audio will be continuous all the time! */
183 #ifdef USE_DOSSETPRIORITY 183 #ifdef USE_DOSSETPRIORITY
184 if (SDL_getenv("SDL_USE_TIMECRITICAL_AUDIO")) 184 if (SDL_getenv("SDL_USE_TIMECRITICAL_AUDIO"))
185 { 185 {
186 #ifdef DEBUG_BUILD 186 #ifdef DEBUG_BUILD
187 printf("[SDL_RunAudio] : Setting priority to TimeCritical+0! (TID%d)\n", SDL_ThreadID()); 187 printf("[SDL_RunAudio] : Setting priority to TimeCritical+0! (TID%d)\n", SDL_ThreadID());