It is a pity that Dsp programming has encountered the problem of delay sub-function, but I still hope to get some advice.
Kk is plastic surgery, which can reach 16 digits at most, that is, -32768-+32767. It is meaningless for you to write 3000000. You can only take the last 16 bit and change it to long to achieve the effect.