natiny_audio_source_set_loop

C
void natiny_audio_source_set_loop(NatinyAudioSource source, bool loop);

Sets whether a source repeats after reaching its end.

Parameters

Name Type Description
source NatinyAudioSource Source handle
loop bool Whether playback should repeat

Example

C
natiny_audio_source_set_loop(source, true);