Mercurial > almixer_isolated
comparison EXAMPLES/playsound.c @ 58:79503033cf53
merged
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Wed, 30 May 2012 02:26:03 -0700 |
parents | b1e13d5688d1 |
children |
comparison
equal
deleted
inserted
replaced
56:208a9ed20087 | 58:79503033cf53 |
---|---|
12 static void Internal_Delay(ALuint milliseconds_delay) | 12 static void Internal_Delay(ALuint milliseconds_delay) |
13 { | 13 { |
14 #if defined(_WIN32) | 14 #if defined(_WIN32) |
15 Sleep(milliseconds_delay); | 15 Sleep(milliseconds_delay); |
16 #else | 16 #else |
17 usleep(milliseconds_delay); | 17 usleep(milliseconds_delay*1000); |
18 #endif | 18 #endif |
19 } | 19 } |
20 #else | 20 #else |
21 #include "SDL.h" | 21 #include "SDL.h" |
22 #define Internal_Delay SDL_Delay | 22 #define Internal_Delay SDL_Delay |