0
0

Hi,

I’ve created my own DSP and I’d like to pass 5 parameters (filter coefficients) at ones with the function setParameter().
Does anyone know how to do it?

Thank you,

Michael

  • You must to post comments
0
0

you can’t do it at once with setParameter. setParameter is for setting one parameter index with one float.

Maybe you could use setUserData and pass a struct then the dsp callback can cal getUserData and check that struct.

  • You must to post comments
0
0

Thank you for your response.

setUserData() and getUserData() seems to be the functions I need.

But could you tell me how do i have to call getUserData from my callback function?
My callback function is:
FMOD_RESULT F_CALLBACK dspread(FMOD_DSP_STATE dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels)
So, in this function, I don’t have the "FMOD_DSP
dsp" parameter I need in the getUserData function:
FMOD_RESULT FMOD_DSP_GetUserData( FMOD_DSP * dsp, void ** userdata);

Thank you,

Michael

  • You must to post comments
0
0

Never mind, I find the answer on another topic:
[url]http://52.88.2.202/forum/viewtopic.php?t=10545[/url]

Michael

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.