Add pitch shift and then chohorus not working

Hello, i tried to add pitch shift dsp and then add chorus dsp and using chorus->addInput(pitchshift) but when sound play, i only got chororus effect, Could you tell me how to add out put of dsp as input of other dsp. thanks

Are you checking the returned result of the FMOD functions? They may indicate where the issue is.
Also check that the pitch shift dsp isn’t being bypassed.

thanks for your answer, the resuld is ok . but i only get two effect on the output when i use masterChanel -> adDSP(0, pitchshift) and masterChanel -> adDSP(1, chorus)