4851 explained code solutions for 97 technologies


ffmpegHow to list recording sound devices on PC in Ubuntu


arecord -lctrl + c
arecord

ALSA utils tool

-l

will list available sound devices that support recording


Usage example

arecord -l
output
card 1: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC887-VD Alt Analog [ALC887-VD Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0