aboutsummaryrefslogtreecommitdiffstats
path: root/examples/altonegen.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/altonegen.c')
-rw-r--r--examples/altonegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/altonegen.c b/examples/altonegen.c
index 65980529..74a04ee2 100644
--- a/examples/altonegen.c
+++ b/examples/altonegen.c
@@ -246,7 +246,7 @@ int main(int argc, char *argv[])
alSourcePlay(source);
do {
ALint pos;
- Sleep(10);
+ al_nssleep(10000000);
alGetSourcei(source, AL_SAMPLE_OFFSET, &pos);
alGetSourcei(source, AL_SOURCE_STATE, &state);
if(pos < last_pos && state == AL_PLAYING)