• Max Kellermann's avatar
    music_chunk: increased chunk size to 4 kB · 3ef8cba2
    Max Kellermann authored
    A larger chunk size means less overhead for managing them.  4 kB seems
    to be a reasonable choice: it contains 23 ms of 44.1 kHz 16 bit stereo
    data, or 3 ms of 192 kHz 24 bit stereo data.  The original value of
    1020 seemed to be too small, there were quite a lot of system calls
    and context switches.
    3ef8cba2
chunk.h 3.33 KB