diff --git a/VoiceChatInterface.cs b/VoiceChatInterface.cs index 5d51953..24292a7 100644 --- a/VoiceChatInterface.cs +++ b/VoiceChatInterface.cs @@ -121,7 +121,7 @@ public VoiceChatInterface( int channels = ChannelsAmount; // fill float samples for noise suppression - FloatSamples = new float[VoiceUtilities.GetSampleSize(SampleRate, FrameLength, channels) / 2]; + FloatSamples = new float[VoiceUtilities.GetSampleSize(channels) / 2]; // create opus encoder/decoder OpusEncoder = new(