[alsa-devel] Recovering from DAI xrun condition
26 May
2014
26 May
'14
2:44 p.m.
Hi,
I see the ALSA framework is capable of detecting and recovering from ring buffer xrun conditions. What I'm not sure about is whether it is possible to recover from a DAI xrun error as well.
Let's take the example of an I2S interface operating in tx mode. If the tx fifo overruns, one or more words will be discarded by the interface. If an odd number of words gets discarded, this may result in the left and right word being swapped. This is actually a quite common weakness in I2S controllers.
Is there a mechanism to notify the ALSA subsystem that a DAI xrun condition has occurred?
Regards
Josef
3863
Age (days ago)
3863
Last active (days ago)
0 comments
1 participants
participants (1)
-
Josef Ahmad