This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Strange (random) behaviour when using ALSA with DSPLINK

Hello all,

I am using an OMAP3530EVM kit to develop some speech processing applications. I am using ALSA for audio input/output operations. I have a simple ALSA program that runs on the ARM side to test the library functionality and I/O. Everything is well and I have transparent audio. The same holds when using aplay, arecord, etc.

However, when I use ALSA to get some audio buffers process them on the DSP and get them back I get some very strange behavior. 

It seems that when the PCM stream opens there is distortion, clicks, pops and something like a decaying ramp offset that distrubs the audio. I have to restart ALSA and the stream several times to get rid of it. I do not have buffer under- or over-runs. 

Does DSPLINK affect ALSA? Is there some way to avoid this? Do I need to take care where my buffers are placed? Anyone had any similar problems?

Thanks for any suggestions,

Elias