i.mx6ul record and playback problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.mx6ul record and playback problem

1,504件の閲覧回数
xiaocong_fu
NXP Employee
NXP Employee

Hi,

I have a problem when I use i.mx6ul to record and play a sound at the same time.

For example, I use 'aplay' to play 'a.wav', and start to record 'b.wav' with 'arecord'. As a result, what I have in b.wav is the content of a.wav.

Anyone have the same problem or know the solution?

Thanks a lot.

Xiaocong

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,408件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Xiaocong,

    If you want play and record can be operated at the same time, SAI on i.MX6UL should work at Asynchronization mode. RX channel and TX Channel have their own Clock(RXC & TXC, RXFS & TXFS). But if your SAI is working at Synchronization mode, play and record can't be done simultaneously.

   


Have a great day,
TIC  Weidong Sun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,408件の閲覧回数
xiaocong_fu
NXP Employee
NXP Employee

Hi Weidong,

Here play and record can work at the same time. The problem is that, what I record is affected by the sound playing. 

Thank you for your answer.

Xiaocong

0 件の賞賛
返信