• Max Kellermann's avatar
    pack the struct audio_format · dc7c6bd1
    Max Kellermann authored
    Due to clumsy layout, the audio_format struct took 12 bytes.  Move the
    "channels" to the end, so it can be merged into the same 32 bit slot
    as "bits", which reduces the struct size to 8 bytes.
    dc7c6bd1
audio_format.h 1.28 KB