Commit Graph

4 Commits

Author SHA1 Message Date
Azamat H. Hackimov
3f588adb0a Fix audio distortions on MVE playback with pipewire backend
Don't define fixed buffer length for audio device, SDL2 calculates desired length itself.
Minor cleanups and fixes to virtual class and constructor.
2024-08-29 16:29:46 +03:00
Azamat H. Hackimov
4b8328cdfa Use correct sample size for processing
Change mveaudio_process() to use sample size defined by stream.
2024-07-12 17:03:28 +03:00
Azamat H. Hackimov
976f00a1f3 Use SDL_QueueAudio() instead callbacks on filling sound buffer
Fixes some issues when sound buffer get exhausted before refilling.
2024-07-12 17:03:28 +03:00
Azamat H. Hackimov
c6eb9a8908 MVE: rename lnx_sound to sdl_sound
Now this is cross-platform playback.
2024-07-09 03:42:52 +03:00