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().
Showing
Please
register
or
sign in
to comment