natiny_audio_source_play
void natiny_audio_source_play(NatinyAudioSource source);
Starts a stopped source or resumes a paused source.
Parameters
| Name | Type | Description |
|---|---|---|
source |
NatinyAudioSource |
Source handle |
Example
natiny_audio_source_play(source);
Notes
- A non-looping source that reached its end starts again from the beginning.
- Calling this for an already playing source keeps its current position.
- A source with an invalid or destroyed clip remains silent, and
natiny_audio_source_get_playingreturnsfalsefor it. - Invalid and non-source handles are ignored.