I am developing sound card driver.
Our system is as below.
In SSI. CPU is slave. Clock and Frame sync receive from codec chip.
Sound output sequence is ALSA -> ASRC -> SSI
And output sample-rate is 48kHz.
Our system must need ASRC.
And frame sync and CLK is output from codec chip continuously.
In test, sound channel is swapped sometimes. (50%)
How can this problem resolve?
Reference code and Document say. this problem is solved by using dual FIFO.
But, if system use ASRC, It can't be adapted .
Please, help me.