Loop a sound nicely

BlitzMax Forums/BlitzMax Beginners Area/Loop a sound nicely

Ive found when using an OGG formatted sound, and loading it with the loop flag set to TRUE it works fine. You need an example?


Incbin "Media\Audio\mysound.ogg"
Global filmloop =LoadSound(incbin::Media\Audio\filmloop.ogg",True)
Global channel=PlaySound(filmloop)
SetChannelRate channel,.85 ' For speed