Method
LibopenmptUtility.GetFrameCount(int, float)

Summary

Syntax

public static int GetFrameCount(int sampleRate, float duration)

Parameters

Name Type Description
sampleRate int The audio sample rate.
duration float The duration in seconds.

Return Value

Type Description
int The total number of frames.