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

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

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

Jump to solution
961 Views
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

Labels (2)
1 Solution
772 Views
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

View solution in original post

0 Kudos
4 Replies
773 Views
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 Kudos
772 Views
srinivasanshanm
Contributor III

Could anybody please address the above thread as early as possible

Many Thanks in advance again,

0 Kudos
772 Views
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 Kudos
772 Views
srinivasanshanm
Contributor III

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

0 Kudos