(8b5b34696) Increased size of Voice audio source pool to 16
This commit is contained in:
@@ -174,8 +174,8 @@ namespace Barotrauma.Sounds
|
|||||||
sourcePools[(int)SourcePoolIndex.Default] = new SoundSourcePool(SOURCE_COUNT);
|
sourcePools[(int)SourcePoolIndex.Default] = new SoundSourcePool(SOURCE_COUNT);
|
||||||
playingChannels[(int)SourcePoolIndex.Default] = new SoundChannel[SOURCE_COUNT];
|
playingChannels[(int)SourcePoolIndex.Default] = new SoundChannel[SOURCE_COUNT];
|
||||||
|
|
||||||
sourcePools[(int)SourcePoolIndex.Voice] = new SoundSourcePool(8);
|
sourcePools[(int)SourcePoolIndex.Voice] = new SoundSourcePool(16);
|
||||||
playingChannels[(int)SourcePoolIndex.Voice] = new SoundChannel[8];
|
playingChannels[(int)SourcePoolIndex.Voice] = new SoundChannel[16];
|
||||||
|
|
||||||
Al.DistanceModel(Al.LinearDistanceClamped);
|
Al.DistanceModel(Al.LinearDistanceClamped);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user