How to Stream Internet Content from FMOD

Discussion in 'Code Samples & Tips' started by Louis, Jul 16, 2008.

  1. Louis

    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!
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Great tip :)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice