Hi,
I am running into an issue when I run my audio user space application at a real-time scheduling priority:
I used to run my user space application process that run audio on am335x at scheduling non-real time (SCHED_OTHER) priority. With that setting, audio plays fine.
Now, I have changed my user space application schedule priority to be real-time (priority > SCHED_OTHER) and I found out audio does not work anymore.
It seems that the kernel davinci audio driver running with my application does not get CPU time to run (may be does not get time to copy the audio data from user to kernel).
So, my question is: what is the schedule priority level of davinci audio drivers (or may be the ALSA driver responsible for copying the data from user space)? Could it be that the default kernel audio drivers for TI am335x are set to NORMAL priority (non-real time)? I could not find any document information on the question, so, would appreciate if anyone could guide me on this.
Thanks,