Limit audio channels to 2

This commit is contained in:
Gustaf Alhäll authored and Alug committed 2025-12-05 00:22:09 +01:00
1 parent ca8e811bd9
commit 3818b9ad1a
1 file changed
+2
+2
View File
@@ -528,6 +528,8 @@ void I_StartupSound(void)
virtual_spec.format = SDL_AUDIO_F32LE;
virtual_spec.channels = actual_spec.channels;
if (virtual_spec.channels > 2)
virtual_spec.channels = 2; // TODO: add support for surround
virtual_spec.freq = actual_spec.freq;
music_volume = sfx_volume = 0;