natiny.audio.source_stop
natiny.audio.source_stop(source)
Stops a source and resets its playback position to the beginning.
Parameters
| Name | Type | Description |
|---|---|---|
source |
number |
Source handle |
Example
natiny.audio.source_stop(source)
Notes
- The next
natiny.audio.source_playbegins at0.0seconds. - Invalid and non-source handles are ignored.