natiny.audio.source_pause
natiny.audio.source_pause(source)
Pauses a source at its current playback position.
Parameters
| Name | Type | Description |
|---|---|---|
source |
number |
Source handle |
Example
natiny.audio.source_pause(source)
Notes
natiny.audio.source_playresumes from the paused position;natiny.audio.source_stoprewinds to the beginning.- Pausing a stopped, paused, invalid or non-source handle does nothing.