I encountered a problem when recording sound on a laptop: when recording from the built-in microphone, everything is recorded perfectly. When I connect a microphone (or a mixer output) - only noise is heard.
Tried to write using rec
from the package sox and arecord