Loop OpenAL source with offset

Posted by ressaw on Stack Overflow See other posts from Stack Overflow or by ressaw
Published on 2010-02-15T22:40:16Z Indexed on 2010/04/08 12:03 UTC
Read the original article Hit count: 645

Filed under:
|
|

The OpenAL API states that an setting an offset still causes the sound to loop back to zero for looping sources. But is there a way to loop and still have an offset somehow?

I have an mp3, and since it contains headers with information at the start of the file, there's a small, but noticable, delay in looping when it rewinds.

If not, are there any other compressed formats that don't contain these empty headers?

© Stack Overflow or respective owner

Related posts about openal

Related posts about mp3