Summary
Gets the number of samples based on the duration of the selected subsong, the given channel count and sample rate.
Syntax
public int GetSampleCount(int sampleRate, ChannelCount channelCount)
Parameters
| Name | Type | Description |
|---|---|---|
| sampleRate | int | The audio sample rate. |
| channelCount | ChannelCount | The number of audio channels. |
Return Value
| Type | Description |
|---|---|
| int | The total number of samples. |