Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
realcoloride committed Apr 13, 2024
1 parent 8147578 commit 25dfdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VoiceChatInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 25dfdcf

Please sign in to comment.