i.mx6ul record and playback problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.mx6ul record and playback problem

627 次查看
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 回复数

531 次查看
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 项奖励
回复

531 次查看
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 项奖励
回复