freeze a dsp function