18 Aug
2010
18 Aug
'10
10:41 a.m.
On Wed, Aug 18, 2010 at 03:53:16PM +0800, Randolph Chung wrote:
Nonetheless, the system still doesn't behave properly when record and playback are happening at the same time. Here's a simple test:
Actually the problem is due to "mismatched" recording and playback rates. My test was recording at 8kHz and playing back at 48kHz. The codec driver only supports playback rate = capture rate. When the playback starts the codec starts clocking at 48kHz which causes the xruns.
Will see if the codec driver (tlv320aic3x) can be fixed up.
If the CODEC has only a single LRCLK pin then it should be setting the symmetric_rates flag in its DAI. The core will then take care of the symmetry requirements for it.