summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-18 16:19:46 +0200
committerwm4 <wm4@nowhere>2014-04-18 16:19:46 +0200
commit5616229dde2c6da86ca3a5818c636493c32f6c06 (patch)
tree6fd65e0fad464edbdaa7ca8eb39c14b8106ad900 /input
parent8931bc46ba2fa7619c0bb4f8ffab40ac4458bc7a (diff)
downloadmpv-5616229dde2c6da86ca3a5818c636493c32f6c06.tar.bz2
mpv-5616229dde2c6da86ca3a5818c636493c32f6c06.tar.xz
audio: preallocate audio buffers on resize
This avoids too many realloc() calls if the caller is appending to an audo buffer. This case is actually quite noticeable when using something that buffers a large amount of audio.
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions