From 29a5bc7497699ab8f4bce839fb5498673e077254 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Sun, 16 Jun 2019 18:06:22 +0300 Subject: [PATCH] (8b5b34696) Increased size of Voice audio source pool to 16 --- Barotrauma/BarotraumaClient/Source/Sounds/SoundManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Barotrauma/BarotraumaClient/Source/Sounds/SoundManager.cs b/Barotrauma/BarotraumaClient/Source/Sounds/SoundManager.cs index 9948f044e..ab339e3db 100644 --- a/Barotrauma/BarotraumaClient/Source/Sounds/SoundManager.cs +++ b/Barotrauma/BarotraumaClient/Source/Sounds/SoundManager.cs @@ -174,8 +174,8 @@ namespace Barotrauma.Sounds sourcePools[(int)SourcePoolIndex.Default] = new SoundSourcePool(SOURCE_COUNT); playingChannels[(int)SourcePoolIndex.Default] = new SoundChannel[SOURCE_COUNT]; - sourcePools[(int)SourcePoolIndex.Voice] = new SoundSourcePool(8); - playingChannels[(int)SourcePoolIndex.Voice] = new SoundChannel[8]; + sourcePools[(int)SourcePoolIndex.Voice] = new SoundSourcePool(16); + playingChannels[(int)SourcePoolIndex.Voice] = new SoundChannel[16]; Al.DistanceModel(Al.LinearDistanceClamped);