play(sound_resource, channel_index, loop)
Starts playing an audio source on a given channel and looping or not. It is up to the user to change the gains of the returned channels so that the audio does not clip.
Parameters:
sound_resource [value: WaveSoundResource or ToneSoundResource, type: object]
channel_index [value: 0 ~ 3, type: int]
loop [value: True or False, type: boolean]
Return Value: AudioChannel
file: src/audio/engine_audio_module.c