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,397件の閲覧回数
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 解決策
1,208件の閲覧回数
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 返答(返信)
1,209件の閲覧回数
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 件の賞賛
返信
1,208件の閲覧回数
srinivasanshanm
Contributor III

Could anybody please address the above thread as early as possible

Many Thanks in advance again,

0 件の賞賛
返信
1,208件の閲覧回数
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 件の賞賛
返信
1,208件の閲覧回数
srinivasanshanm
Contributor III

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

0 件の賞賛
返信