Looping .ogg files smoothly. Is it possible?

Blitz3D Forums/Blitz3D Programming/Looping .ogg files smoothly. Is it possible?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The .wav format can be used to embed all sorts of metadata. Many audio editing applications allow you to embed 'loop markers' to specify start & end points for looping.

I've noticed that blitz3d does actually honour these loop markers in .wav files *even* if you don't explicitly use LoopSound, however I've not managed to store a loop marker inside an .ogg file yet and converting wavs to .ogg format appears to strip them out. Loop markers are very useful if you want to loop between arbitrary points in the sample.

If you want to just treat the sample as a one shot either remove the loop markers in a audio editing app or convert the file to .ogg format. I'm not sure if you can override the behavoir from blitz (not looked tbh).