Table of Contents

Method CalculateSampleSize

Namespace
DSharpPlus.VoiceNext
Assembly
DSharpPlus.VoiceNext.dll

CalculateSampleSize(int)

Calculates a sample size in bytes.

public int CalculateSampleSize(int sampleDuration)

Parameters

sampleDuration int

Millisecond duration of a sample.

Returns

int

Calculated sample size in bytes.