aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins/OpenALOutputPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/plugins/OpenALOutputPlugin.cxx')
-rw-r--r--src/output/plugins/OpenALOutputPlugin.cxx4
1 files changed, 2 insertions, 2 deletions
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 <glib.h>
+#include <unistd.h>
#ifndef __APPLE__
#include <AL/al.h>
@@ -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);
}