fmod (audio library) - vb api wrapper - with examples
this is a fix i made to the vb version of the fmod api
the original version didn't work,
so i looked in the C version that did work, and fixed the vb ver + tested it with some of the examples, and it works now.
the fmod is an audio library, instead of using mci/directshow/wmp
you can use this lib.
why to use it,
my reason was simple,
mci and directshow couldn't play all mp3 i have,
though they could play most of them, but there were some that they couldn't,
windows media player could play the ones that mci/directshow couldn't,
but i didn't want to depend on it.
Re: fmod (audio library) - vb api wrapper - with examples
I've worked with FMod and Bass for a while now. It's obvious that
VB is an afterthought for both developers. For example, all of the
FMod examples use the following construct:
ERRCHECK (result)
When it should be ERRCHECK result OR Call ERRCHECK(result)
I also noticed that your Recording example still has the dreaded End statement.
Re: fmod (audio library) - vb api wrapper - with examples
errorcheck is working both ways
also other functions can be written like this
about the examples.
if a project could start and end (with some colicks here and there) without crashing i assumed this as a working project
because i just fixed the API decleration not the examples themselves.
Last edited by whatsup; Apr 18th, 2010 at 02:12 PM.
Re: fmod (audio library) - vb api wrapper - with examples
hello everybody,
the recording examples don't work for me.
I select the output type as DirectSound, then when I want to select the record driver (it correctly shows me make sound card input driver) it says
FMOD Error! (37) An invalid parameter was passed to this function.
the function is FMOD_System_CreateSoundEx and I am not sure but the wrong parameter seems to be the second one (ByVal Name_or_data As String) which value is 0 (so not a string). I don't know how to correct that.
Should I change the value in the function to accept a long or should a provide a string? in that case, what string?
Can anybody please help???
Many thanks in advance.
Re: fmod (audio library) - vb api wrapper - with examples
hi i downloaded this attachment but i can not find fmod 43001 in fmod.com or fdmod.org download page,because it is not availble,any here has this version to i can use source codes downloaded?
i need fmodex.dll version 43001 used in #1 thread
Re: fmod (audio library) - vb api wrapper - with examples
Originally Posted by Black_Storm
hi i downloaded this attachment but i can not find fmod 43001 in fmod.com or fdmod.org download page,because it is not availble,any here has this version to i can use source codes downloaded?
i need fmodex.dll version 43001 used in #1 thread
I found V4.30.1 @ 386kb Created 02 August 2011
I don't think I am allowed to upload it to the Forum though