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.

DM355 MPEG4ENC Breaks Alsa audio input

Hi,

I'm running a DVR-esqe application on a dm355. I recently updated to the Arago Kernel, version 2.6.32-rc2. That said, I'm stuck with using a rather old implementation of the dvsdk infrastructure that our code was built upon: cmem_2_00_01, codec_engine_2_00_01, dm355_codecs_1_13_000, framework components_2_00_01. Can't upgrade at this point though.

Anyway, things are mostly fine ( I can create motion jpeg avis just fine)  until I try to encode MPEG4 video while capturing audio through the Asoc interface.

 

The audio streams in until the MPEG4 encoder starts encoding video and then I lose the audio stream. After a time out, the pcm_lic.c spits out:

 

capture write error (DMA or IRQ trouble?)

 

Have no idea what to do here. My guess is that in the codec engine, someone is reseting the ASoc DMA parameters, but that's just a wild guess.

 

Any thoughts?

 

Thanks!

Paul