Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Aboriginal7

Music Streaming

This topic is 5538 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

This is my first post, and i got a question. I want to know how to stream music. I''m starting a 3D Multiplayer online Mod creation/fighting game and i want people to add their songs in their stages. A-peach-iate it if you help me!!! Live in my world, Play in yours!!!

Share this post


Link to post
Share on other sites
Advertisement
What format is the music in? If it''s a mp3 or wave like (ie not tracker) then create a looping sound buffer in whatever API you''re using and periodically copy sound into it.

Typically split the buffer in two and see where the cursor is. If it''s in one half, copy data into the other but don''t copy over data that hasn''t been played yet!

Mark
Cornutopia Games
http://www.cornutopia.net

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!