I am building a mediaplayer ffplay (ffmpeg + sdl") in imx6q.

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

I am building a mediaplayer ffplay (ffmpeg + sdl") in imx6q.

860 Views
谢骆冰谢
Contributor I

I am building a mediaplayer ffplay (ffmpeg + sdl") in imx6q.but the audio driver has error as

     "asoc : platform imx-pcm-audio.1 hw params failed."

     " Audio write: Invalidargument"

     "SNDCTL_DSP_GETFMTS: Invalid argument"

How can I do?Give me a driver source  of wm8960?Thanks.

7~]BQ~2U_3DH`T_`IY[(HV8.png

Labels (3)
0 Kudos
2 Replies

489 Views
igorpadykov
NXP Employee
NXP Employee

Hi 谢骆冰 谢

suggest to look at attached file Chapter 8 Porting Audio Codecs to a Custom Board

and links below

Linux/sound/soc/codecs/wm8960.c - Linux Cross Reference - Free Electrons

Freescale i.MX6 ARM Motherboard, Cortex A9 Solo Core, HDMI, LVDS, RISC-based, MIPI-CSI Camera Interf...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

489 Views
谢骆冰谢
Contributor I

thanks for igor,the problem has solved。my fs  /dev/snd directory is lack of nods,and then I has rebuild the kernel image,then it's all right!

0 Kudos