Limit audio channels to 2
This commit is contained in:
1 parent
ca8e811bd9
commit
3818b9ad1a
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user