From e7131b5da256c3d9472e3e3fdb826ae14da13188 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 19 Feb 2009 13:33:03 +0100 Subject: utils: use g_usleep() instead of my_usleep() Now that I've found this nice function in the GLib docs, we can finally remove our custom sleep function. Still all those callers of g_usleep() have to be migrated one day to use events, instead of regular polling. --- src/output/jack_plugin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/output/jack_plugin.c') diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c index 49f8fd838..2bcdf874f 100644 --- a/src/output/jack_plugin.c +++ b/src/output/jack_plugin.c @@ -16,7 +16,6 @@ */ #include "../output_api.h" -#include "../utils.h" #include "config.h" #include @@ -421,7 +420,7 @@ mpd_jack_play(void *data, const char *buff, size_t size) } else { /* XXX do something more intelligent to synchronize */ - my_usleep(1000); + g_usleep(1000); } } -- cgit v1.2.3