Interface that may be used to play audio files
Supported audio file formats are listed in the table
Start playing the audio file
whether to loop or not
Release all resources allocated for playing audio file.
Must be called even if the file was not played.
Register a listener to be notified about events regarding audio file playing status.
IAudioFileListener or null. If null, previous listener will be removed
Stop or pause playing the audio file.
If the file is paused, it is possible to continue to play it by calling IAudioFile.play from the position it has been stopped.
whether to pause or stop