natiny.audio.source_stop

Lua
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

Lua
natiny.audio.source_stop(source)