Closed Fulgen301 closed 1 year ago
If Craftmanship.it is played using fmod.dll and Config.Sound.MaxChannels, which is passed to FSOUND_Init, is greater than 470, an access violation happens within fmod.dll. The crash can also be replicated using a minimum example.
Config.Sound.MaxChannels
FSOUND_Init
https://github.com/legacyclonk/LegacyClonk/blob/9322f4b775c5a7b2a79b02476ee198de35668037/src/C4AudioSystemFmodRuntime.cpp#L430
If Craftmanship.it is played using fmod.dll and
Config.Sound.MaxChannels
, which is passed toFSOUND_Init
, is greater than 470, an access violation happens within fmod.dll. The crash can also be replicated using a minimum example.https://github.com/legacyclonk/LegacyClonk/blob/9322f4b775c5a7b2a79b02476ee198de35668037/src/C4AudioSystemFmodRuntime.cpp#L430