aboutsummaryrefslogtreecommitdiffstats
path: root/src/compress.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-10 11:43:56 +0200
committerMax Kellermann <max@duempel.org>2008-09-10 11:43:56 +0200
commit8d1801c59d67617541447a47b7fdd2cbcb4bc7cb (patch)
tree238755d6a3941dc85183ffe79d35f50323863082 /src/compress.c
parentcdbb9627a7fa32d2bc90d4bc1a93bf426bb7e8be (diff)
downloadmpd-8d1801c59d67617541447a47b7fdd2cbcb4bc7cb.tar.gz
mpd-8d1801c59d67617541447a47b7fdd2cbcb4bc7cb.tar.xz
mpd-8d1801c59d67617541447a47b7fdd2cbcb4bc7cb.zip
audio: added function audio_buffer_resize()
To make openAudioDevice() smaller and more readable, move code to a static function. Also don't use realloc(), since the old value of the buffer isn't needed anymore, saving a memcpy().
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions