Method CalculateSampleSize
- Namespace
- DSharpPlus.VoiceNext
- Assembly
- DSharpPlus.VoiceNext.dll
CalculateSampleSize(int)
Calculates a sample size in bytes.
public int CalculateSampleSize(int sampleDuration)
Parameters
sampleDuration
intMillisecond duration of a sample.
Returns
- int
Calculated sample size in bytes.