OK, I note LEAP-42.1 with 4.1.15-8-default kernel, where the hardware is using one instance of the snd_hda_intel alsa module. Pulse audio is installed and runing.
alsa detects two sound devices, and ATI (amd likely for HDMI associated with onboard graphics (?)) and a Nvidia HD audio controller. Hardware audio codec is an ALC662.
From the script:
ARECORD
**** List of CAPTURE Hardware Devices ****
**card 0**: SB [HDA ATI SB], **device 0**: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
**card 0**: SB [HDA ATI SB], **device 2**: ALC662 rev1 Alt Analog [ALC662 rev1 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
where record device is either hw**:**0,0, or hw:0,2.
Mixer has this:
Simple mixer control '**Master**',0
Mono: Playback 31 **48%**] -33.00dB] **[off]**
...
Simple mixer control '**Front Mic'**,0
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback 0 **0%**] -34.50dB] **on**]
Front Right: Playback 0 **0%**] -34.50dB] **on**]
...
Simple mixer control '**Front Mic Boost**',0
Capabilities: volume
Front Left: 0 **0%**] [0.00dB]
Front Right: 0 **0%**] [0.00dB]
...
Simple mixer control '**Capture',0**
Capture channels: Front Left - Front Right
Front Left: Capture 26 **84%**] [25.50dB] **on**]
Front Right: Capture 26 **84%**] [25.50dB] **on**]
Simple mixer control '**Capture',1**
Capture channels: Front Left - Front Right
Front Left: Capture 0 **0%**] -13.50dB] **off**]
Front Right: Capture 0 **0%**] -13.50dB] **off**]
Your PC has Master volume muted. Why ? That should make it very difficult to assess if recording is working.
Your PC has the playback of the Front Mic at 0%. Why ? That should make it very difficult to assess if recording is working.
Your PC has the Front Mic Boost at 0% ? That’s not a good setting IMHO. It should be around 66% in order to obtain a decent mic capture.
Your PC has Capture-1 at 0% capture and the Mic off (albeit Capture-0 is set to capture).
Having two record devices (hw:0,0 and hw:0,2) and a Capture-0 and a Capture-1 suggests there are two record inputs on your PC. One may be a front mic and one may be a back (?) mic. Which are you using ?
In short, you need to better tune the mixer setting.
Then, after that is complete, you need to tune pulse audio to properly record given alsa settings are fixed. To do that install “pulse audio volume control” application (known as “pavucontrol”) and you can tune the audio capture on an application basis. ie each application can have different record settings, controlled by pavucontrol.
Good luck !
.