Jump to content

  • Log In with Google      Sign In   
  • Create Account

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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Cirno   Members   -  Reputation: 130

Like
0Likes
Like

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~~

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS