yquake2remaster/doc
Yamagi a969526d87 Switch the SDL2 sound backend to transparent audio format conversion.
Since the SDL 1.2 day the SDL sound backend relied on the sound driver
supporting the requested audio format. That workes fine for drivers
support transparent conversions into formats supported by the hardware.
But it failes with drivers which are unable to do such conversions. As
long as we hardcoded the sound driver this wasn't a problem, because all
our chouces supported transparent conversions. When we removed the
hardcoded choices and started to rely on SDLs choices especially the
wsaapi driver - which is SDLs default choice under windows - failed.
wsaapi only guarantees support for AUDIO_F32LSB (other formats may be
supported, depending on the hardware), Quake II needs AUDIO_S16SYS or
AUDIO_U8.

Solve this by switching to transparent conversions through SDL. This way
Quake II can send whatever it wants to SDL and SDL will make sure that
it is in the right format before sending it to the driver.

This isn't necessary for SDL3, SDL3 doesn't support explicit formats and
always relies on transparent conversions.

Remove hardcoded wsaapi on Windows, it's no longer necessary.

Part of #1135.
2024-09-08 10:29:36 +02:00
..
010_index.md Document the commands added by YQ2. 2019-10-12 16:39:42 +02:00
020_installation.md OpenGL ES 1.0 refresher (GLES1 for friends) 2024-07-27 23:15:12 -04:00
030_configuration.md Show correct replacement for gl_lightmap cvar 2023-08-26 19:18:24 -04:00
040_cvarlist.md Switch the SDL2 sound backend to transparent audio format conversion. 2024-09-08 10:29:36 +02:00
050_commands.md game: Add spawn on start point 2022-09-04 23:40:55 +03:00
060_multiplayer.md Include downloads into the security considerations. 2024-06-22 16:57:30 +02:00
070_packaging.md Small corrections to the documentation. 2021-06-03 07:24:42 +02:00
080_contributing.md Reorder documentation files and make room for future additions. 2019-10-12 16:17:18 +02:00
090_filelists.md Add fotosteps.pkz to the filelist. 2022-10-09 11:05:42 +02:00