How to Stream Internet Content from FMOD

Louis

Active Member
Licensed User
Hi! For those of us who have wanted a way to stream audio from Basic4ppc, here it is with the FMOD library. Simply add a reference to FMODDesktop.dll and/or FMODDevice.dll, add an object of type FMOD, initialize the object with New1 then pass a URL in quotes to the fmod.Play() method. E.G.
fmod.New1
fmod.Play("http://stream5.jungletrain.net:8000")
wait for a few seconds and the mp3 stream will begin! Enjoy streaming from your Basic4ppc apps using this awesome lib!
 
Top