• Max Kellermann's avatar
    audio_format: added audio_format_frame_size() · 96155a33
    Max Kellermann authored
    A frame contains one sample per channel, thus it is sample_size *
    channels.  This patch includes some cleanup for various locations
    where the sample size for 24 bit audio was still 3 bytes (instead of
    4).
    96155a33
audio.c 11.5 KB