setLooping method
Set the looping flag of a currently playing sound, provided via
its handle
.
Throws SoLoudNotInitializedException if the engine is not initialized.
Implementation
void setLooping(SoundHandle handle, bool enable) {
if (!isInitialized) {
throw const SoLoudNotInitializedException();
}
_controller.soLoudFFI.setLooping(handle, enable);
}