From c1c0fc79bcdc9caabe42fc3716ea2e2ea7b3eb3d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 4 Dec 2014 09:14:11 +0100 Subject: [PATCH] output/jack: use usleep() instead of g_usleep() --- src/output/plugins/JackOutputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output/plugins/JackOutputPlugin.cxx b/src/output/plugins/JackOutputPlugin.cxx index e1dad7893..5651de68a 100644 --- a/src/output/plugins/JackOutputPlugin.cxx +++ b/src/output/plugins/JackOutputPlugin.cxx @@ -32,6 +32,7 @@ #include #include +#include /* for usleep() */ #include #include @@ -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;