FEATURE REQUEST: Streaming audio

BlitzMax Forums/BlitzMax Programming/FEATURE REQUEST: Streaming audio

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

make a dedicated exe that monitors stdin for new url's and streams audio from its current url, use delay and preferabley the event system to make sure this stream play server uses the minimum cpu time possible (use framework and you should get it in at under 100kb, 200 max!)

with your main app use the freeprocess module to spawn the stream play server and and send it url's down the Tprocess pipe

using threads should NOT be done glibly they are at times an UNMITIGATED NIGHTMARE it is *very* easy to cause *very* difficult to find intermittent bugs with threads, they are NOT fun!

for just about *any* use you might THINK you need threads you can make a simple server type program and use that instead

This approach is both simpler in the long run and a lot less prone to bugs and likely to behave a lot more robustly