Audio preview: Very short files are not played properly on Windows
Versions
- OS: W10
- Gajim version: Portable Nightly Dec. 28, 2022
Steps to reproduce the problem
- Send/receive a short audio file, e.g. https://ttm.sh/Su7.mp3
- Try to play it back via the preview controls
- You'll either hear nothing at all, or just a very small part of it: https://ttm.sh/SuJ.mp3
If I turn back the playback speed to 0.25x, I do seem to hear all of the file. It might still be cutting off some of the beginning, but I can't hear a cut-off anymore due to the playback speed.
Expected behavior
Should play back the entire file.
Actual behavior
Cuts off either start or beginning.