summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_sdl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-03-07 22:58:47 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-03-08 17:12:32 -0800
commitf40e0cb0f21f0f322cdb74eb7582f63986d7dab5 (patch)
tree5f1cd89d7ec16ca3840da17c77e37e7dd96319e5 /audio/out/ao_sdl.c
parent5f41fbb6d931700d4bc7455ca7bf289d15d6d8eb (diff)
downloadmpv-f40e0cb0f21f0f322cdb74eb7582f63986d7dab5.tar.bz2
mpv-f40e0cb0f21f0f322cdb74eb7582f63986d7dab5.tar.xz
ao: do not allow actual buffer size of 0
You can use --audio-buffer=0 to minimize the audio buffer size. But if the AO reports no device buffer size (like e.g. ao_jack does), then the buffer size is actually 0, and playback can never work properly. Make it fallback to a size of 1, which is unlikely to work properly, but you get what you asked for, instead of a freeze.
Diffstat (limited to 'audio/out/ao_sdl.c')
0 files changed, 0 insertions, 0 deletions