Sign in to follow this  
Cirno

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this