Audio jack

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

Audio jack

854 次查看
Mohan51
Contributor II

Hi, I am using IMX8M nano board, i tried to play an .wav file using pygame python module.but unable to hear audio using headphone jack.please help me to find a way

0 项奖励
回复
2 回复数

827 次查看
Mohan51
Contributor II

Hi @jimmychan m #aplay -l output is:

 

**** List of PLAYBACK Hardware Devices ****
card 0: btscoaudio [bt-sco-audio], device 0: 30020000.sai-bt-sco-pcm-wb bt-sco-pcm-wb-0 [30020000.sai-bt-sco-pcm-wb bt-sco-pcm-wb-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: imxspdif [imx-spdif], device 0: S/PDIF PCM snd-soc-dummy-dai-0 [S/PDIF PCM snd-soc-dummy-dai-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: wm8524audio [wm8524-audio], device 0: HiFi wm8524-hifi-0 [HiFi wm8524-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: wm8524audio [wm8524-audio], device 1: HiFi-ASRC-FE (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0

0 项奖励
回复

831 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Please try to use the aplay to play the .wav file first. make sure the sound card is working.

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

 

0 项奖励
回复