FMOD Stop or Reset a DSP?

会有一股神秘感。 提交于 2019-12-11 20:17:32

问题


I have a question about stopping DSP's in FMOD. I have a button that I want to stop my DSP from being enabled.

- (IBAction)myButton:(id)sender {

   FMOD_DSP_Reset(FMOD_DSP_TYPE_ECHO *myEcho);

}

Any ideas? I've looked into the documentation - but it's not working for me. Any help would he highly appreciated!


回答1:


Ah! I figured it out - it was simple. I think I was over complicating it.

All I needed to do was throw in the simple remove call into the action. :)

result = myEcho->remove();



回答2:


There's also DSP::setActive or DSP::setBypass



来源:https://stackoverflow.com/questions/12375347/fmod-stop-or-reset-a-dsp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!