mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-21 20:59:56 -05:00
- Auto-cleanup idle voice handles: Voice sound handles are now killed when player hasn't been talking for a while - Audio Occlusion refactor: Moved occlusion calculation to a dedicated SoundOcclusionSystem GameObjectSystem for better organization - This now performs really well, so we could look into improving our occlusion calculation: proper damping when sound is transferred via wall, path tracing for occlusion etc. (will open a separate issue) - Fix mixer early return bug: Fixed issue where mixer could return early, potentially skipping sounds - Voice Component lipsync toggle: Added option to enable/disable lipsync processing on VoiceComponent - Cheaper HRTF for voice audio: Disabled expensive bilinear interpolation for voice and certain other sounds in Steam Audio - Editor MixerDetail perf: Skip frame updates on MixerDetail widget when not visible - Reduced allocations in audio systems: Optimized away List and LINQ allocations in SoundOcclusionSystem, Listener, and SoundHandle.Source - MP3 decoder buffer optimization: Improved buffer handling in native CAudioMixerWaveMP3 to reduce overhead Depending on scenario can reduces audio frame time by up to 30%. This should also drastically improve performance for games that use VOIP.