Stream an OGG radio

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
MagicalTux
New User
New User
Posts: 1
Joined: Sat Aug 07, 2004 8:02 am
Location: Paris - FRANCE
Contact:

Stream an OGG radio

Post by MagicalTux »

Hello,
I'm trying to find a way to stream an OGG audio stream from a server...

I already have the server but I don't know how to stream the data to the audio device...

Would be great to have functions to stream OGG like in Flash we have function to stream mp3 ... :)


MagicalTux
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

You can use Fmod, you will find an example doing exactly what you want (in the "SamplePureBasic\Netstream" directory).
Btw, if only want to stream ogg vorbis file (not from internet), you can use my OggStream library.
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
Post Reply