Hi,
I'm using 2 TLV320AIC3106 codecs, connected to SSI1 and SSI2, and I recently changed the sampling rate from 44.1KHz to 48KHz.
When I run alsa loops (see below), I usually get the xrun error message roughly once in every 2 minutes: overrun!!! (at least xx ms long) or underrun!!! (at least xx ms long).
BTW, before changing the sampling rate, the error messages appeared a lot more often (every couple of seconds).
This problem happens with both codecs, even if the loops are internal for each codec. Here are the alsa loops I run:
arecord -D hw:0 -f S16_LE -r 48000 -B 8000 -F 1000 -c 2 | aplay -D hw:0 -f S16_LE -r 48000 -B 4000 -F 2000 -c 2run |
arecord -D hw:1 -f S16_LE -r 48000 -B 8000 -F 1000 -c 2 | aplay -D hw:1 -f S16_LE -r 48000 -B 4000 -F 2000 -c 2
Regards,
Yehuda
Hi Yehuda
one can check if this behaviour is caused by bus bandwidth limitation
running mmdc profiling tool
https://community.freescale.com/message/481292#comment-481292
If this is bandwidth limitation, then it is necessary to decrease bus loading
removing gpu/vpu applications or change them in such way, so they consume
less bandwidth.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------