aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/jack_plugin.c3
-rw-r--r--src/output/osx_plugin.c3
2 files changed, 2 insertions, 4 deletions
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 <assert.h>
@@ -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);
}
}
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index f7497ad31..a97f56982 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -17,7 +17,6 @@
*/
#include "../output_api.h"
-#include "../utils.h"
#include <glib.h>
#include <AudioUnit/AudioUnit.h>
@@ -171,7 +170,7 @@ osx_render(void *vdata,
buffer->mDataByteSize = bufferSize;
if (!bufferSize) {
- my_usleep(1000);
+ g_usleep(1000);
}
return 0;