Hello TI,
We have developed an application based on audio_encode demos available in ezsdk_dm814x-evm_5_05_01_04. Normally our application works fine in the normal conditions i.e. normal CPU usage.
When we increase CPU load by running multiple processes the number of audio frames available increases exponentially. We are using snd_pcm_avail() to track the number of frames available.
During normal CPU usage its value is around ~1024 frames but when we increase CPU usage to almost 95-99% we start receiving a huge burst of available frames ~20k-~30k.
We suspect that the ring buffer is being read multiple time resulting into burst. When we listen to the audio we can hear the effect as echo.
Can you please help us in debugging the issue? Why we have this instant bursts? What can cause this condition?
Let me know if you have any query or question regarding the problems we are facing.
Thanks,
Krunal