|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
| void Flint::Audio::setLooping | ( | int | id, |
| bool | loop ) |
Change the looping state of a currently playing sound.
If the sound is playing, it is restarted with the new loop flag while preserving the current gain and pitch settings.
| id | Sound ID to modify. |
| loop | true to loop indefinitely, false to play once. |