Rust documentation gives the following advice for the chunksize parameter on mixer's open_audio()
It is recommended to choose values between 256 and 1024, depending on whether you prefer latency or compatibility ...
while the official docs say
... 2048 is often a reasonable default, but your app might want to experiment with 1024 or 4096.
In my own experimentation I found that 256-1024 creates very crackly audio on the files I tried. I feel that the official 1024-4096 guideline is probably much more broadly applicable today, and the rust docs should consider updating to reflect this
Rust documentation gives the following advice for the chunksize parameter on mixer's open_audio()
It is recommended to choose values between 256 and 1024, depending on whether you prefer latency or compatibility ...while the official docs say
In my own experimentation I found that 256-1024 creates very crackly audio on the files I tried. I feel that the official 1024-4096 guideline is probably much more broadly applicable today, and the rust docs should consider updating to reflect this