Commit c1c0fc79 authored by Max Kellermann's avatar Max Kellermann

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

parent 02a77f67
......@@ -32,6 +32,7 @@
#include <jack/types.h>
#include <jack/ringbuffer.h>
#include <unistd.h> /* for usleep() */
#include <stdlib.h>
#include <string.h>
......@@ -719,7 +720,7 @@ mpd_jack_play(AudioOutput *ao, const void *chunk, size_t size,
/* XXX do something more intelligent to
synchronize */
g_usleep(1000);
usleep(1000);
}
space /= jack_sample_size;
......
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