Music Streaming

Started by
0 comments, last by Aboriginal7 20 years, 8 months ago
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!!!
The Month of July Studios
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

This topic is closed to new replies.

Advertisement