Dear I.MX Community,
Could you please provide me the test application from userspace in order to directly play a .wav file through the /dev/snd/pcmC0D0p node on SGTL5000 in I.MX28 BSP, instead of using alsa utilities ie., aplay , Kindly do the needful as early as possible,
Many Many thanks in advance
解決済! 解決策の投稿を見る。
aplay is a software to play the sound. sgtl5000 is an audio codec that like as a sound card in the system.
They are different things.
e.g. to list the playback device
~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: HiFi Playback sgtl5000-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
to play .wav sound file
~ # aplay -D plughw:0,0 sound.wav
aplay is a software to play the sound. sgtl5000 is an audio codec that like as a sound card in the system.
They are different things.
e.g. to list the playback device
~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: HiFi Playback sgtl5000-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
to play .wav sound file
~ # aplay -D plughw:0,0 sound.wav
Could anybody please address the above thread as early as possible
Many Thanks in advance again,
Srinivasan
Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help please feel
free to contact Freescale.
Thanks,
Yixing
Please close this issue it is resolved, thanks a lot for your support