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

This commit is contained in:
Max Kellermann 2014-02-24 20:33:12 +01:00
parent a1509876de
commit 8319398957

View File

@ -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);
}