diff options
author | wm4 <wm4@nowhere> | 2014-03-10 21:30:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-10 22:56:23 +0100 |
commit | 7221d96ba311404f54752937253f210fb53623ea (patch) | |
tree | 54f23a1f21f187952fc86eccb5bf801d6601bc0d /video/out/gl_lcms.h | |
parent | b0b0e6957089b2031eba60bcfdb28eaf6b59012d (diff) | |
download | mpv-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/out/gl_lcms.h')
0 files changed, 0 insertions, 0 deletions