Test application from userspace, to test playback on sgtl5000 instead of aplay

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

Test application from userspace, to test playback on sgtl5000 instead of aplay

跳至解决方案
1,164 次查看
srinivasanshanm
Contributor III

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

标签 (2)
1 解答
975 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
4 回复数
976 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
975 次查看
srinivasanshanm
Contributor III

Could anybody please address the above thread as early as possible

Many Thanks in advance again,

0 项奖励
回复
975 次查看
YixingKong
Senior Contributor IV

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

0 项奖励
回复
975 次查看
srinivasanshanm
Contributor III

Please close this issue it is resolved, thanks a lot for your support

0 项奖励
回复