0
0

Hi, feel free to direct me to a sample program or somewhere else on the forum if this has been answered before. I’m just unsure about using the param part when setting a callback with FSOUND_Stream_CreateDSP. I’m sure I saw a sample somewhere passing something other than an int to it. I’d basically like to pass a pointer to an array say, so that I could use the same function for many different streams and fill up different arrays with data. Is this plausible or am I off in the realms of fantasy here?

  • You must to post comments
0
0

Can’t you just cast the pointer into an int?
(and cast it back to a pointer inside the dsp callback)

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.