Hi all, i’m new to FMOD. I’m really really new to it, i have a simple question i hope anyone can help solve. i’m confused.
I looked at the documentation, and it says I have to call FSOUND_DSP_Create.
So it creates a DSP Unit, the problem is i don’t know what to put for the callback parameter.
So it means, before i call FSOUND_DSP_Create, i have to create a callback? But how do i create it? FSOUND_DSPCallback?
I also see that the dsp must be played through FSOUND_Stream_PlayEx, but when it comes to the dspunit parameter, i don’t know what to put in.
Now i don’t even know what i’m talking about, lol. All i know all these FSOUND_*** above are related.
I’m puzzled. 😮
- colder than linux asked 15 years ago
[quote="colder than linux":27vlaqto]Yea, I know. Thanks. But. I just want to ask for directions, i think. Which one comes first? DSPCreate or DSPCallback, or whichever? Or maybe it’s just me who don’t get what they mean in the documentation.[/quote:27vlaqto]
You must use DspCreate, DSPCallback is not a API function but a pointer to a function. You can use this in vb with the AddressOf operator.
[quote="colder than linux":27vlaqto]OK, i know this one is a bit out of topic. I’m planning to switch to Delphi or PureBasic. But i’ve doned quite a lot in VB, will i able to use Components/Reference available in VB to PureBasic/Delphi ?[/quote:27vlaqto]
Those two languages support COM objects so i think they should be able to support the Components/References.
VB is not a fast language but i think it can support simple dsp like echoes, rotator, inverse stereo, stereo to mono (and perhaps reverb/preverb) … . DSP callbacks must be efficient/fast as possible …
If VB doesn’t suite your need (or you are fed up of it’s limitations) you can trie the [url=http://www.purebasic.com:3nazfdhy]PureBasic[/url:3nazfdhy] language, it has the simplicity of the basic with the power of C/C++ (and without runtime depencies). You can find a reverb dsp in the PureBasic port of FMOD (see the download page of Fmod). Delphi is another good alternative (if you like Pascal).
Please login first to submit.