Unable to create raw file for unit_tests project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to create raw file for unit_tests project

330 Views
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 ?

Labels (1)
0 Kudos
0 Replies