Audio jack

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

Audio jack

861 Views
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 Kudos
Reply
2 Replies

834 Views
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 Kudos
Reply

838 Views
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 Kudos
Reply