Pages: 1
Author Topic: Looping Streamed Music  (Read 5795 times)
Offline (Unknown gender) FroggestSpirit
Posted on: September 08, 2015, 11:46:17 am

Joined: Mar 2013
Posts: 79

View Profile
I'm wondering what the most efficient way to loop streamed music in OpenAL is. I would prefer something that would loop the audio to a specific offset of samples after reaching the end of the song (so it doesnt replay the intro of the music).
Another way would be having the intro and main loop as separate files, so the main loop plays after the intro, and loops normally. The only issue with this is getting the meain loop to start seamlessly when the intro ends.
I'd prefer a way to do this with the song being one file (the first idea).
If anyone knows how to accomplish this, please let me know

EDIT: I guess it doesn't have to be OpenAL, but I'd prefer it to be a portable system. Also, is FMOD able to be implemented? I noticed code for it
« Last Edit: September 08, 2015, 01:51:53 pm by FroggestSpirit » Logged
This isn't easy to say, but…
Pages: 1