Commit Graph

10 Commits

Author SHA1 Message Date
e3c8f1c1d4
Add an optional OpenAL audio driver for the SDL frontend
To compile the OpenAL driver specify `ENABLE_OPENAL=1` when
invoking `make`.
2022-07-09 21:47:26 +02:00
Lior Halphon
0dbfaef4cf Query the system sample rate on Windows and use it, rather than hardcode 96KHz 2022-07-08 19:51:10 +03:00
Lior Halphon
88f5b22bf6 Allow setting a non-default audio driver, fixes #466 2022-07-08 17:51:42 +03:00
Lior Halphon
d9b8e829a5 Fix crash on Windows 8.x 2022-07-08 14:17:28 +03:00
Lior Halphon
9a765820cc Runtime audio driver fallback 2022-06-24 14:18:53 +03:00
Lior Halphon
fd6b734fd0 Add XAudio2.7 as an compile-time audio driver for vanilla Windows 7 2022-06-24 14:18:30 +03:00
Lior Halphon
9ae2c9fd54 Replace SDL2 audio with XAudio2 on Windows 2022-06-23 01:13:59 +03:00
Lior Halphon
1b7c3c4c7c Minor fixes, style update 2020-05-10 22:16:49 +03:00
Rupert Carmichael
5f2c7b966f Pre-buffer audio samples before passing to SDL's queue 2020-05-09 11:49:20 -04:00
Lior Halphon
8d016f19d2 Move the audio code to a different file 2020-04-28 20:01:22 +03:00