Thanks for the lib
uFMOD v1.15 supports PureBasic v3.50 or later
v1.20 for Linux released. Featuring ALSA support. Enjoy!
Release notes: http://sourceforge.net/project/shownote ... _id=158498
Release notes: http://sourceforge.net/project/shownote ... _id=158498
-
xperience2003
- Enthusiast

- Posts: 113
- Joined: Tue Oct 05, 2004 9:05 pm
- Location: germany
- Contact:
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.
Changes:
http://sourceforge.net/project/shownote ... _id=158498
BTW, the helpfile for PureBasic is much more detailed this time and features a better design.
Hi,
I got problem compiling on BlitzMax, I got this error
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
I got problem compiling on BlitzMax, I got this error
And one suggestion:Compile Error
Duplicate identifier 'IDirectSoundBuffer' in modules 'pub.directsound' and 'pub.directx'
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
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.
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.
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.Compile Error
Duplicate identifier 'IDirectSoundBuffer' in modules 'pub.directsound' and 'pub.directx'
Sure, feel free to move it :) I'll fix that next time.And one suggestion:
How about put ufmod module outside of pub.mod as:
BTW, I don't have access to BMax forum.
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!
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!
Just open dsufmod.release.win32.x86.i and remove the following line:yoxola wrote: I know nothing about DX programming so I don't know how to fix it.
import pub.dsound
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: (BTW, current BlitzMax build comes with a OpenAL device,
SetAudioDriver "OpenAL" to activate/use it)
I'm currently using 1.21 for temporary solution :(
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.yoxola wrote: what I think is the OpenAL lib is much larger than uFMOD
I'll try to create a thread in SF later, excuse me to iron out this issue first... thanks everyone.
Remove import pub.dsound
If I change
import pub.dsound
to
import pub.directx
Compile stops at
If DirectSoundCreate(Null, Varptr DirectSound, Null) < 0
with this message
Below is the piece in dsound.bmx related to used methods, thanks.
Remove import pub.dsound
Code: Select all
Compile Error
Identifier 'IDirectSoundBuffer' not found.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 variableCode: 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 )
