toniebox-reverse-engineering/hackiebox_cfw

Optimize "Threading" to play WAV without stuttering

SciLor opened this issue · 2 comments

Depending on the used WAV samplerate the current code is either to slow or it wastes to much time somewhere.

A workaround is to convert the files into a single channel (mono) audio file with a sample rate of 16k.

ffmpeg -i source.mp3 -ac 1 -ar 16000 target.wav

A samplerate of 32k may also work
ffmpeg -i source.mp3 -ac 1 -ar 32000 target.wav