aboutsummaryrefslogtreecommitdiffstats
path: root/examples/allatency.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/allatency.c')
-rw-r--r--examples/allatency.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/allatency.c b/examples/allatency.c
index deb13d3b..afef43ca 100644
--- a/examples/allatency.c
+++ b/examples/allatency.c
@@ -182,7 +182,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);
/* Get the source offset and latency. AL_SEC_OFFSET_LATENCY_SOFT will