I needed to hear the audio of my microphone from the loudspeakers connected to my pc…
I got the desired result with the following command:
arecord -l
arecord -D hw:0,0 -f dat | aplay
What I would like to correct now is a delay in the reproduction of the audio compared to the output of my voice.
I think the buffer needs to be set in arecord / aplay command-line, but I have no idea of the correct code that should be used.
These are my devices:
aplay -l ✔
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC891 Analog [ALC891 Analog]
Subdevices: 1/1
arecord -l ✔
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC891 Analog [ALC891 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC891 Alt Analog [ALC891 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0