fix: resample audio to speaker rate to fix custom pack speed/pitch issues (#73)
The speaker is initialized once with the first played file's sample rate, but subsequent files were never resampled to it. Custom packs with mixed sample rates (common after WAV->MP3 conversion) therefore played sped up, slowed down, or distorted depending on which file initialized the speaker. Resample every stream to the speaker's rate, folding the --speed flag into the same resample. Also bump Go directive and update dependencies. Fixes #60
4 files changed+162−46
Rendering diff…