Hi,
I am using freescale yocto bsp. I am able to compile and run pulseaudio(daemon). I am able to play any audio using paplay but recording using parec or pacat -r --raw is not working. I am able to record any audio using arecord but I need parec to be working for my project.
arecord | aplay ---->works
pacat -r --raw | pacat -p --raw -----> not working.
I tried with pulseaudio version 5.0 and 7.0. Attached pulseaudio log file. From log everything seems correct.
Please help.
Original Attachment has been moved to: pulse.txt.zip
Hello Abhishek,
See here , please!
Above is Pulse Audio trouble shooting, you see "2 Microphone" at first, and debug your audio at the same time.
Regards,
weidong
Hi weidong sun,
I have gone through above steps, but it didn't helped. From log you can see that pulseaudio is detecting microphone. Below is aplay and arecord output.
/# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: cs42888audio [cs42888-audio], device 0: HiFi cs42888-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: cs42888audio [cs42888-audio], device 1: HiFi-ASRC-FE (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: imxhdmisoc [imx-hdmi-soc], device 0: i.MX HDMI Audio Tx hdmi-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: cs42888audio [cs42888-audio], device 0: HiFi cs42888-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: cs42888audio [cs42888-audio], device 1: HiFi-ASRC-FE (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: imxspdif [imx-spdif], device 0: S/PDIF PCM snd-soc-dummy-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
As I mentioned earlier recording through arecord is working. Any other way to resolve the issue.