Increased audio channels from 5 to 8

This commit is contained in:
Alessandro Proto 2023-03-17 23:11:49 +01:00
parent 63838e97c7
commit 57195bcf0b

View file

@ -32,7 +32,7 @@ public class Audio : IDisposable
public const int SampleRate = 16000; public const int SampleRate = 16000;
public const int HQSampleRate = 48000; public const int HQSampleRate = 48000;
public const AudioChannels AudioChannel = AudioChannels.Mono; public const AudioChannels AudioChannel = AudioChannels.Mono;
public const int ChannelsCount = 5; public const int ChannelsCount = 8;
public readonly DynamicSoundEffectInstance[] Channels = new DynamicSoundEffectInstance[ChannelsCount]; public readonly DynamicSoundEffectInstance[] Channels = new DynamicSoundEffectInstance[ChannelsCount];
private bool[] freeChannels = new bool[ChannelsCount]; private bool[] freeChannels = new bool[ChannelsCount];