From 83193989575c6cbe06a326156bc0dfcf55f5b31b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 24 Feb 2014 20:33:12 +0100 Subject: output/openal: use usleep() instead of g_usleep() --- src/output/plugins/OpenALOutputPlugin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/output/plugins/OpenALOutputPlugin.cxx b/src/output/plugins/OpenALOutputPlugin.cxx index 344f23f4f..2f095c0a4 100644 --- a/src/output/plugins/OpenALOutputPlugin.cxx +++ b/src/output/plugins/OpenALOutputPlugin.cxx @@ -23,7 +23,7 @@ #include "util/Error.hxx" #include "util/Domain.hxx" -#include +#include #ifndef __APPLE__ #include @@ -235,7 +235,7 @@ openal_play(AudioOutput *ao, const void *chunk, size_t size, } else { /* wait for processed buffer */ while (!openal_has_processed(od)) - g_usleep(10); + usleep(10); alSourceUnqueueBuffers(od->source, 1, &buffer); } -- cgit v1.2.3