Looking for a FMOD EX Include ? thanks.

Advanced game related topics
True29
User
User
Posts: 64
Joined: Sun Feb 03, 2013 1:50 am

Looking for a FMOD EX Include ? thanks.

Post 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 ;)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Looking for a FMOD EX Include ? thanks.

Post 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()
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
True29
User
User
Posts: 64
Joined: Sun Feb 03, 2013 1:50 am

Re: Looking for a FMOD EX Include ? thanks.

Post by True29 »

great ;)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Looking for a FMOD EX Include ? thanks.

Post 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")
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Lebostein
Addict
Addict
Posts: 807
Joined: Fri Jun 11, 2004 7:07 am

Re: Looking for a FMOD EX Include ? thanks.

Post by Lebostein »

Warning: SoundStatus is very bugy on MacOS
http://www.purebasic.fr/english/viewtop ... 24&t=56356
Post Reply