The Daily Click ::. Forums ::. Klik Coding Help ::. How do I Get .ogg files to loop properly? Add crossfade?
 

Post Reply  Post Oekaki 
 

Posted By Message

aphant



Registered
  18/05/2008
Points
  1242
13th October, 2008 at 15:02:57 -

When I tried adding placeholder music to my game the other day, I encountered an odd problem. I was using an .ogg file, but there was still a brief delay when it would loop in MMF. In any other media player it would loop normally (without crossfading, too), but not in MMF. I was using the basic "play sample and loop."

What's causing this brief delay, and how can it be fixed?

I'm also toying with the idea of crossfading music between levels and such. How can this be accomplished?

 

Yami



Registered
  23/12/2003
Points
  608
13th October, 2008 at 18:19:12 -

Was the music made to be a loop? I'm not sure why it would delay unless the .ogg file itself has a pause on either the end or the beginning of it.

 
Image

aphant



Registered
  18/05/2008
Points
  1242
14th October, 2008 at 11:05:46 -

Yes, the music is made to be a loop. In any other media player it loops like it should, too.

 
   

Post Reply



 



Advertisement

Worth A Click