Hello, I am trying to set a DSP on my channel and get it to work, but something is wrong as I see no difference in the output when the DSP is added to the channel.
Here is my code, as I try it with a Chorus effect:
[code:4iqttv0m] FMOD_MODE l_eMode =
FMOD::Sound* l_pSound = NULL; CHECK_FMOD(l_eResult = l_pFMODSystem->createSound( "W:\\APE2006\\Assets\\Media\\Audio\\SpeechFortChester.wav", l_eMode, NULL, &l_pSound)); FMOD::Channel* l_pChannel = NULL; CHECK_FMOD(l_eResult = l_pFMODSystem->playSound(FMOD_CHANNEL_FREE, l_pSound, true, &l_pChannel)); FMOD::DSP* l_pChorus = NULL; l_pFMODSystem->createDSPByType(FMOD_DSP_TYPE_CHORUS, &l_pChorus); l_pChannel->addDSP(l_pChorus); l_pChorus->setActive(true); l_pChorus->setBypass(false); CHECK_FMOD(l_eResult = l_pChannel->setPaused(false));[/code:4iqttv0m]
what am I doing wrong, or what is missing?
thanks for your help,
- RungeKutta asked 12 years ago
Please login first to submit.