Hello All,
We are doing a Audio recording functionality on AM335X EVM by using the following command
Alsa recording Utility : arecord –d10 –fS16_LE –r8000 –c2 sample.wav -v
After issuing the above command, It is recording a wave file for a duration of 10 seconds.
When I am trying to playback the recorded audio file but unable to hear any sound on Headphone.
Alsa Playback Utility command : aplay -d10 –fS16_LE –r8000 –c2 sample.wav
I also try the following commands to increase the “Capture” volume as mentioned in the Ti user guide but didn’t get any audio on Headphone.
http://processors.wiki.ti.com/index.php/AM335x_Audio_Driver's_Guide
$ amixer sset ‘Right PGA Mixer Mic3L’ on/off
$ amixer sset ‘Right PGA Mixer Mic3R’ on/off
$ amixer sset ‘Left PGA Mixer Mic3L’ on/off
$ amixer sset ‘Left PGA Mixer Mic3R’ on/off
To unmute/mute the line input and use differential configuration
$ amixer sset 'Right PGA Mixer Line1R' on/off
$ amixer sset 'Right PGA Mixer Line1L' on/off
$ amixer sset 'Left PGA Mixer Line1R' on/off
$ amixer sset 'Left PGA Mixer Line1L' on/off
$ amixer sset 'Left Line1R Mux' differential
$ amixer sset 'Right Line1L Mux' differential
To increase the volume for capture and playback
$ amixer cset name='PCM Playback Volume' x%,x% (x between 0-100)
$ amixer cset name='PGA Capture Volume' x%,x%
Note : PLAY BACK mode is working fine when we ruuning the script which is mentioned in the below path
usr/bin : ./runAACDec.sh
Problem : Recorded audio is not getting Played on the Headphone.
Thanks,
Surendra