summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-10 21:30:40 +0100
committerwm4 <wm4@nowhere>2014-03-10 22:56:23 +0100
commit7221d96ba311404f54752937253f210fb53623ea (patch)
tree54f23a1f21f187952fc86eccb5bf801d6601bc0d /video
parentb0b0e6957089b2031eba60bcfdb28eaf6b59012d (diff)
downloadmpv-7221d96ba311404f54752937253f210fb53623ea.tar.bz2
mpv-7221d96ba311404f54752937253f210fb53623ea.tar.xz
ao_sdl: make sure our buffer is always larger than what SDL requests
Assume obtained.samples contains the number of samples the SDL audio callback will request at once. Then make sure ao.c will set the buffer size at least to 3 times that value (or more). Might help with bad SDL audio backends like ESD, which supposedly uses a 500ms buffer.
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions