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~~
Show differencesHistory of post edits
#1Cirno
Posted 01 February 2013 - 06:32 AM
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~~