I am testing audio_capture and audio_play node on raspberr yp 4B. Here when i tested it by capturing audio on pi and playing in remote computer with audio_play it is playing the audio on my headphone.
But when i run the audio_capture in pi and try to play the audio in same pi with its audio jack. The sound is not comming. When i echo the audio output it is working fine. I also checked the audio output device with comd:
speaker-test -c2 -twav -l7 and the audio output is working fine. when i check the audio output devices here is the output:
**** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 7/7 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1] Subdevices: 1/1 Subdevice #0: subdevice #0
So how should i make this thing work?