summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_openal.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-25 19:56:52 +0200
committerwm4 <wm4@nowhere>2013-05-26 16:44:20 +0200
commitf44a242258c282eb1407899a64571c39d010285b (patch)
tree0582ab64904258650db3f8631ee8628b8745cf8e /audio/out/ao_openal.c
parente56d8a200d900066c3da571d92733f66ce6a13ab (diff)
downloadmpv-f44a242258c282eb1407899a64571c39d010285b.tar.bz2
mpv-f44a242258c282eb1407899a64571c39d010285b.tar.xz
Replace calls to usec_sleep()
This is just dumb sed replacement to mp_sleep_us(). Also remove the now unused usec_sleep() wrapper.
Diffstat (limited to 'audio/out/ao_openal.c')
-rw-r--r--audio/out/ao_openal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_openal.c b/audio/out/ao_openal.c
index 08f8bc1978..c622c5f140 100644
--- a/audio/out/ao_openal.c
+++ b/audio/out/ao_openal.c
@@ -211,7 +211,7 @@ static void uninit(int immed) {
ALint state;
alGetSourcei(sources[0], AL_SOURCE_STATE, &state);
while (state == AL_PLAYING) {
- usec_sleep(10000);
+ mp_sleep_us(10000);
alGetSourcei(sources[0], AL_SOURCE_STATE, &state);
}
}