Archived

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

Aboriginal7

Music Streaming

Recommended Posts

Aboriginal7    122
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
Mark Sheeky    134
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