I was looking through the code for AudioServer briefly and I didn't see an API for this, nor in the AudioStream resource (which is likely how most people will be playing sounds, in one way or another). What this would be is the ability to set loop points within a stream, so for example you could load in some music that has a specific intro but then loops at a certain position, and it will loop without you having to switch to/load in a "loop" file or something. File formats like OGG Vorbis even support loop points within the format itself, so this implementation could also pair into native support for whatever loop points the format uses if it uses them
I was looking through the code for AudioServer briefly and I didn't see an API for this, nor in the
AudioStreamresource (which is likely how most people will be playing sounds, in one way or another). What this would be is the ability to set loop points within a stream, so for example you could load in some music that has a specific intro but then loops at a certain position, and it will loop without you having to switch to/load in a "loop" file or something. File formats like OGG Vorbis even support loop points within the format itself, so this implementation could also pair into native support for whatever loop points the format uses if it uses them