diff options
author | Max Kellermann <max@duempel.org> | 2008-09-10 11:43:56 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-10 11:43:56 +0200 |
commit | 8d1801c59d67617541447a47b7fdd2cbcb4bc7cb (patch) | |
tree | 238755d6a3941dc85183ffe79d35f50323863082 /src/playlist.c | |
parent | cdbb9627a7fa32d2bc90d4bc1a93bf426bb7e8be (diff) | |
download | mpd-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 'src/playlist.c')
0 files changed, 0 insertions, 0 deletions