Summary
Gets the module's number of frames based on the duration of the selected subsong and at the given sample rate.
Syntax
public static int GetFrameCount(IntPtr mod, int sampleRate)
Parameters
Name | Type | Description |
---|---|---|
mod | IntPtr | The module handle to work on. |
sampleRate | int | The audio sample rate. |
Return Value
Type | Description |
---|---|
int | The total number of frames. |