DPS Effects in Openframeworks

Can someone tell me what I['m doing wrong? This code is in setup(). The code compiles, but crashes when run. The FMOD_RESULT for adding the Dsp is 16, which means it can’t find the Dsp?

FMOD_SYSTEM *system;
    FMOD_SOUND      *sound       
    FMOD_CHANNEL    *channel;

    FMOD_RESULT       result;

    unsigned int      version;
    void             *extradriverdata = 0;

    FMOD_DSP          *dspecho       = 0;
    FMOD_DSP          *dspflange     = 0;

  result = FMOD_System_Create(&system);

result = FMOD_System_Init(system, 32, FMOD_INIT_NORMAL, extradriverdata);

result = FMOD_System_CreateSound(system, "data/groove.wav", FMOD_DEFAULT, 0, &sound);

result = FMOD_System_CreateDSPByType(system, FMOD_DSP_TYPE_ECHO, &dspecho);

result = FMOD_System_PlaySound(system, FMOD_CHANNEL_FREE, sound1, false, &channel);

result = FMOD_Channel_AddDSP(channel, dspecho, NULL);   //result: 16