Unable to create raw file for unit_tests project

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

Unable to create raw file for unit_tests project

694 次查看
abhishek_kumar2
Contributor I

I am trying to run one unit_tests project which is given by default after booting linux on i.MX8M Quad EVK board to us for playing the audio file.

I am trying to create raw file for " ./mxc_pdm_test.out " by executing following code :

./mxc_pdm_test.out -device hw:4,0 -output test-audio.raw -rate 16000 -seconds 60

What error i observed is :

ALSA lib ../../../alsa-lib-1.1.4.1/src/pcm/pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card
unable to open pcm device: hw:4,0fail to init alsa pdm -2

Could you please help me to understand this error for me.

What i am missing here ?

标签 (1)
0 项奖励
回复
0 回复数