Gez wrote:Does that mean that if they are not played through an [wiki]A_PlaySound[/wiki] call (but, for example, they're the level music as assigned in MAPINFO), then they won't loop?
I wrote "sounds", not "music", so it only applies to sound effects. Level music is still always looped.
Zippy wrote:Are we talking all sounds, wavs et al.? In that case I do see the problem in undercutting the old assumption of building the loop into the file always looping.
What? People did that and expected it to work? I can only remember people wondering why their sound effects were looping. It never worked 100% properly. If people actually use it, then I'll need to do some more rewriting to make it a properly supported feature. I figured I could just take the easy way out and rely on the modder to specify it explicitly.
To further expound on this, the LOOP_START and LOOP_END tags will work with any sound format (other than MP3) that supports custom tags. (I believe this is only Vorbis and FLAC, but I could be wrong.) For sound effects, you can also use the LOOP_BIDI tag to create bidirectional "ping-pong" loops.