0
0

Trying to move the DSP Custom tutorial into a vc++ app. Not sure how to initiate this.

namespace ffttesting {

FMOD::DSP *mydsp;
FMOD_DSP_STATE *dsp_state;
FMOD_DSP_DESCRIPTION dspdesc;

}

private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {

dspdesc.read = myDSPCallback();

}

Errors:
If I populate the fields: cannot convert from ‘FMOD_RESULT’ to ‘FMOD_DSP_READCALLBACK’
or
If as above: function does not take 0 arguments

  • You must to post comments
0
0

i resolved this by putting the function
static FMOD_RESULT F_CALLBACK myDSPCallback(..) outside of my class and into the namespace and making:

dspdesc.read = &myDSPCallback;

similar to topic:
http://52.88.2.202/forum/viewtopic.php?t=5130

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.