slaeshjag / libdarnit

General purpose gamedev library that initially targeted the OpenPandora handheld
http://w.rdw.se/libdarnit
9 stars 3 forks source link

Implement loop-at-end in sound code #21

Closed slaeshjag closed 11 years ago

slaeshjag commented 12 years ago

I think there might be cases where you want your pre-loaded or streamed sound to e looped when it ends, so this should be implemented I think.

slaeshjag commented 12 years ago

If the transition to stb_vorbis is made, this will not be possible (except for jump-to-beginning)

slaeshjag commented 12 years ago

oh wait, I think I can see a hack around that limitation, if we catch the loop-point while decoding...

ghost commented 12 years ago

Oh wow. I just noticed this is assigned to me. Sorry it's taken three month.