summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Lehman <joshlehman01@gmail.com>2018-09-30 16:20:15 -0400
committerAman Gupta <aman@tmm1.net>2018-09-30 16:01:21 -0700
commit515c4163eac8af1b1cfdc4d9bca1b6c41edf4199 (patch)
tree71ce456f17dcb0c8e312b0f8212c519d646d786d
parent8d2d0f06403b6777e4b591fa84df57b55e9b7809 (diff)
downloadmpv-515c4163eac8af1b1cfdc4d9bca1b6c41edf4199.tar.bz2
mpv-515c4163eac8af1b1cfdc4d9bca1b6c41edf4199.tar.xz
ao_audiounit: rename pause function to reset
AudioUnit output driver uses the pull based api so it should have a reset function instead of a pause function.
-rw-r--r--audio/out/ao_audiounit.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_audiounit.m b/audio/out/ao_audiounit.m
index fb18f1eb14..70a80f29f6 100644
--- a/audio/out/ao_audiounit.m
+++ b/audio/out/ao_audiounit.m
@@ -192,7 +192,7 @@ const struct ao_driver audio_out_audiounit = {
.name = "audiounit",
.uninit = uninit,
.init = init,
- .pause = stop,
+ .reset = stop,
.resume = start,
.priv_size = sizeof(struct priv),
};