Summary
Sets the frame position of the module based on various settings.
Syntax
public void SetPosition(int position, int sampleRate, float from, float duration)
Parameters
| Name | Type | Description |
|---|---|---|
| position | int | The sample position. |
| sampleRate | int | The audio sample rate. |
| from | float | The starting position in seconds. |
| duration | float | The duration of the audio clip in seconds. |