• Advertisement
Sign in to follow this  

how to loop the ogg sound in XNA with the library 'OGGSharp'?

This topic is 1814 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everybody~

My English is not good, so I may describe the problem not so clearly, but I will try my best...


I am now trying to play ogg sound in XNA.OGGSharp maybe a good choice but I don't know how to loop the sound(or repeat playing the sound?).In addition, I heard that there are tags in ogg files to tell when to start/end the loop, but I don't know where they are stored in the file.I looked into the code of OGGSharp and found there are some data read and stored from the ogg file.But I am not familiar with the structure of the file so I don't know what to get.


Here is the source code of OGGSharp

http://oggsharp.codeplex.com/SourceControl/changeset/view/19c0361a8fa8


Thank you~~

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement