aboutsummaryrefslogtreecommitdiffstats
path: root/examples/alreverb.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/alreverb.c')
-rw-r--r--examples/alreverb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alreverb.c b/examples/alreverb.c
index 420b1c55..7d2bb343 100644
--- a/examples/alreverb.c
+++ b/examples/alreverb.c
@@ -311,7 +311,7 @@ int main(int argc, char **argv)
/* Play the sound until it finishes. */
alSourcePlay(source);
do {
- Sleep(10);
+ al_nssleep(10000000);
alGetSourcei(source, AL_SOURCE_STATE, &state);
} while(alGetError() == AL_NO_ERROR && state == AL_PLAYING);