summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-08-27 11:40:56 +0200
committerwm4 <wm4@nowhere>2020-08-27 11:55:20 +0200
commita7413aff22521ea471575613b936e437230d3f28 (patch)
tree82f7e1aaa616d83a507d0417d7c8d1635daaf8b9 /audio
parentb0fe01d55c18272ca9e879d8a9fa7723d2d7c6a7 (diff)
downloadmpv-a7413aff22521ea471575613b936e437230d3f28.tar.bz2
mpv-a7413aff22521ea471575613b936e437230d3f28.tar.xz
audio: clarify set_pause() documentation
Diffstat (limited to 'audio')
-rw-r--r--audio/out/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h
index 5cf99a02b7..820acc52a0 100644
--- a/audio/out/internal.h
+++ b/audio/out/internal.h
@@ -153,6 +153,7 @@ struct ao_driver {
// returns success (this is intended for paused=true; if it
// returns false, playback continues, and the core emulates via
// reset(); unpausing always works)
+ // The pausing state is also cleared by reset().
bool (*set_pause)(struct ao *ao, bool paused);
// pull based: start the audio callback
// push based: start playing queued data