Archived

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

Music Streaming

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