Page 1 of 1

Looking for a FMOD EX Include ? thanks.

Posted: Sun Feb 03, 2013 2:30 am
by True29
Hello,
I Want to use FMOD EX DLL or LIB.
I have test the PB Sound Lib. But i missed the feature to check the Sound State "is Playing".
Second i have test libzplay but it didnt work for 64bit.

Now Back to FMOD.
I find a lot of Source out there but nothing works (outdated 2007).

As Example The Wrapper didnt work.
The Include from Purebasic Code Archiv didn't work.


I hope someone have an working include? or anything else ;)

Re: Looking for a FMOD EX Include ? thanks.

Posted: Sun Feb 03, 2013 3:12 am
by ts-soft
True29 wrote:I have test the PB Sound Lib. But i missed the feature to check the Sound State "is Playing".
You can use PB5.10 b5 and check the status with SoundStatus()

Re: Looking for a FMOD EX Include ? thanks.

Posted: Sun Feb 03, 2013 3:38 am
by True29
great ;)

Re: Looking for a FMOD EX Include ? thanks.

Posted: Sun Feb 03, 2013 3:50 am
by ts-soft
Example:

Code: Select all

InitNetwork()
InitSound()
ReceiveHTTPFile("http://www.mir-co.net/wav/ciaobella.wav", GetTemporaryDirectory() + "ciaobella.wav")
LoadSound(0, GetTemporaryDirectory() + "ciaobella.wav")
PlaySound(0)
While SoundStatus(0) = #PB_Sound_Playing
  Delay(100)
Wend
FreeSound(0)
DeleteFile(GetTemporaryDirectory() + "ciaobella.wav")

Re: Looking for a FMOD EX Include ? thanks.

Posted: Sat Nov 23, 2013 9:27 am
by Lebostein
Warning: SoundStatus is very bugy on MacOS
http://www.purebasic.fr/english/viewtop ... 24&t=56356