Hi,
I am working on SABRE ARD board, on which I have to play an audio file which is basically a PCM file. I need suggestions on this. I have tried playing an mp3 file using gplay as initial testing but i failed in geeting audio out. As Gplay is a command line player it was showing on hyper terminal as if it is playing audio i could see the progress.Please Help me out in this.
Thanks in advance,
Rakesh
Please ignore it since Fabio has replied and gplay worked.
-----------
You can try to play a WAV file with aplay first to exclude the hardware issue.
Fabio,
I am not able to record the audio. I think my mic is not getting detected. Should I change any configurations in kernel or should I install any packages.I have alsa packages installed in the LTIB. Into which port should I insert my mic. I think we have only one mic in slot on SABRE ARD REV B board.
Regards,
Rakesh
You can use arecord utility to record audio. I haven´t tested this on MX53ARD, but on other i.MX boards the following command allows you to capture audio:
arecord -r 8000 -c 1 -f S16_LE -N -M -d 4 file.wav
Regards,
Fabio Estevam
Fabio,
Thanks for the reply.I was successful in playing audio using gpaly.
I also played some random chunk of PCM data. Now I want to capture PCM data from a mic.Is there any provision for recording through mic on ARD rev B board.
Regards,
Rakesh
Try playing a wav file using aplay:
aplay file.wav
Regards,
Fabio Estevam