uFMOD v1.15 supports PureBasic v3.50 or later

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Post by flaith »

:D Great !!!
Thanks for the lib 8)
“Fear is a reaction. Courage is a decision.” - WC
Quantum
User
User
Posts: 51
Joined: Fri May 19, 2006 5:26 am
Contact:

Post by Quantum »

v1.20.1 for Win32 released
Quantum
User
User
Posts: 51
Joined: Fri May 19, 2006 5:26 am
Contact:

Post by Quantum »

v1.20 for Linux released. Featuring ALSA support. Enjoy!

Release notes: http://sourceforge.net/project/shownote ... _id=158498
xperience2003
Enthusiast
Enthusiast
Posts: 113
Joined: Tue Oct 05, 2004 9:05 pm
Location: germany
Contact:

Post by xperience2003 »

ufmod works fine under windows, but under linux i have a problem
to use ufmod and puresound

using Initsound() stops the music
whats wrong?
Quantum
User
User
Posts: 51
Joined: Fri May 19, 2006 5:26 am
Contact:

Post by Quantum »

xperience2003 wrote:using Initsound() stops the music
whats wrong?
OSS or ALSA or both? It seems ALSA uses exclusive access by default.
Quantum
User
User
Posts: 51
Joined: Fri May 19, 2006 5:26 am
Contact:

Post by Quantum »

v 1.21 for Win32 released. Featuring OpenAL, a new engine, a new XMStrip build and more.
Quantum
User
User
Posts: 51
Joined: Fri May 19, 2006 5:26 am
Contact:

Post by Quantum »

v1.22 for Win32 released
Changes:
http://sourceforge.net/project/shownote ... _id=158498

BTW, the helpfile for PureBasic is much more detailed this time and features a better design.
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

Work fine, i like it

Thanks
Please correct my english
http://purebasic.developpez.com/
User avatar
yoxola
Enthusiast
Enthusiast
Posts: 386
Joined: Sat Feb 25, 2006 4:23 pm

Post by yoxola »

Hi,

I got problem compiling on BlitzMax, I got this error
Compile Error
Duplicate identifier 'IDirectSoundBuffer' in modules 'pub.directsound' and 'pub.directx'
And one suggestion:

How about put ufmod module outside of pub.mod as:
ufmod.mod\dsound.mod
ufmod.mod\dsufmod.mod
ufmod.mod\oalufmod.mod
ufmod.mod\openal.mod

BlitzMax will automatically import all mods in BRL.mod and PUB.mod if no framework specified.

and linking the lib in corresponding modules.

This error occures in BlitzMax 1.24 (lastest sync) and uFMOD 1.22
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

yoxola you might want to post BlitzMax related support stuff to the BlitzMax forum thread (if there is one over there? *looks at Quantum*)
I prefer to keep things "Pure"Basic here :lol:
User avatar
yoxola
Enthusiast
Enthusiast
Posts: 386
Joined: Sat Feb 25, 2006 4:23 pm

Post by yoxola »

I'm sorry but I think this is the major thread that Quantum reads.

Quantum has make a complete and woking package in PureBasic,
it should be OK to mention about other ports like FreBasic etc, to make it perfect.
Last edited by yoxola on Tue Apr 10, 2007 6:13 pm, edited 1 time in total.
Quantum
User
User
Posts: 51
Joined: Fri May 19, 2006 5:26 am
Contact:

Post by Quantum »

Compile Error
Duplicate identifier 'IDirectSoundBuffer' in modules 'pub.directsound' and 'pub.directx'
That means latest BMax releases already include a DirectSound module. You can modify the DSuFMOD mod to use that (standard) module if you like (just edit the *.i files) or disable the pub.directx one when using uFMOD. BTW, isn't Framework supposed to disable all non-explicitly declared modules? It shouldn't use pub.directx I guess.
And one suggestion:

How about put ufmod module outside of pub.mod as:
Sure, feel free to move it :) I'll fix that next time.

BTW, I don't have access to BMax forum.
User avatar
yoxola
Enthusiast
Enthusiast
Posts: 386
Joined: Sat Feb 25, 2006 4:23 pm

Post by yoxola »

Ah, thanks for the solution, I'll try to deal with that.

BlitzMax will import BRL and PUB when no framework specified,
I know nothing about DX programming so I don't know how to fix it.

(BTW, current BlitzMax build comes with a OpenAL device,
SetAudioDriver "OpenAL" to activate/use it)
I'm currently using 1.21 for temporary solution :(

As the PureBasic port is very stable now,
what I think is the OpenAL lib is much larger than uFMOD :roll:
However, thanks for this GREAT work!
Quantum
User
User
Posts: 51
Joined: Fri May 19, 2006 5:26 am
Contact:

Post by Quantum »

yoxola wrote: I know nothing about DX programming so I don't know how to fix it.
Just open dsufmod.release.win32.x86.i and remove the following line:
import pub.dsound
yoxola wrote: (BTW, current BlitzMax build comes with a OpenAL device,
SetAudioDriver "OpenAL" to activate/use it)
I'm currently using 1.21 for temporary solution :(
I'm not a registered BMax user. So, I don't have access to the latest BMax releases. Let me know if there are any conflicts with that OpenAL driver.
yoxola wrote: what I think is the OpenAL lib is much larger than uFMOD
The OpenAL Userlib just adds some entries to the import table, not significantly affecting the file size. openal32.dll is big, but it shouldn't be counted as part of your application's size.
User avatar
yoxola
Enthusiast
Enthusiast
Posts: 386
Joined: Sat Feb 25, 2006 4:23 pm

Post by yoxola »

I'll try to create a thread in SF later, excuse me to iron out this issue first... thanks everyone.

Remove import pub.dsound

Code: Select all

Compile Error
Identifier 'IDirectSoundBuffer' not found.
If I change
import pub.dsound
to
import pub.directx

Compile stops at
If DirectSoundCreate(Null, Varptr DirectSound, Null) < 0
with this message

Code: Select all

Compile Error
Expreion for 'Var' parameter must be a variable
Below is the piece in dsound.bmx related to used methods, thanks.

Code: Select all

Global DirectSoundCreate( guid:Byte Ptr,dsound:IDirectSound Var,unk:Byte Ptr )"win32"=GetProcAddress( _ds,"DirectSoundCreate" )

Code: Select all

Method CreateSoundBuffer( desc:Byte Ptr,buf:IDirectSoundBuffer Var,unk:Byte Ptr )
Post Reply