Posted: . At: 10:09 AM. This was 5 years ago. Post ID: 12693
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


How to turn on line-in with Pulseaudio on Ubuntu 18.04.


The default pulseadio configuration does not automatically load the module to run line-in input for listening to audio from an external device.

But this simple command will load this easily.

4.4 Thu Nov 15 jason@Yog-Sothoth 1: $ pactl load-module module-loopback
31
Pulseaudio settings for line in.
Pulseaudio settings for line in.

The default Pulseaudio configuration is far too loud for line-in input. Just set the volume as shown above and this will be fine.

To record audio from line-in input, use the rec utility.

4.4 Thu Nov 15 jason@Yog-Sothoth 1: $ rec radio.wav
rec WARN alsa: can't encode 0-bit Unknown or not applicable
 
Input File     : 'default' (alsa)
Channels       : 2
Sample Rate    : 48000
Precision      : 16-bit
Sample Encoding: 16-bit Signed Integer PCM
 
In:0.00% 00:00:57.00 [00:00:00.00] Out:2.73M [  -===|===-  ]        Clip:0    ^C
Aborted.

This way, a user can easily record audio from a line input.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.