Summary
Gets the number of frames based on the duration of the selected subsong and at the given sample rate.
Syntax
public int GetFrameCount(int sampleRate)
Parameters
Name | Type | Description |
---|---|---|
sampleRate | int | The audio sample rate. |
Return Value
Type | Description |
---|---|
int | The total number of frames. |