diff options
author | wm4 <wm4@nowhere> | 2014-04-18 16:19:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-18 16:19:46 +0200 |
commit | 5616229dde2c6da86ca3a5818c636493c32f6c06 (patch) | |
tree | 6fd65e0fad464edbdaa7ca8eb39c14b8106ad900 /input/input.c | |
parent | 8931bc46ba2fa7619c0bb4f8ffab40ac4458bc7a (diff) | |
download | mpv-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/input.c')
0 files changed, 0 insertions, 0 deletions