Commit 83193989 authored by Max Kellermann's avatar Max Kellermann

output/openal: use usleep() instead of g_usleep()

parent a1509876
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment