• Max Kellermann's avatar
    audio: added function audio_buffer_resize() · 8d1801c5
    Max Kellermann authored
    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().
    8d1801c5
audio.c 10.9 KB