Ubuntu – How to make Ubuntu compatible with baudline

11.04devicesmicrophonesoundsoundcard

When I run baudline, it displays the message "all input devices disabled" and the Input ▸ Devices screen doesn't list any devices. The baudline FAQ suggests:

Here are two possible explanations for this:

  1. You don't have a properly configured audio card.
  2. Or you don't have read and write privileges for /dev/audio or /dev/mixer.

The observation that sound works in every other program I've tried (though there is one exception) strongly suggests that my sound card is properly configured.

The problem appears to be related to /dev/audio and /dev/mixer. I'm certain that I do not have read and write privileges for them, because they don't even exist. I think this bug report is responsible for their absence, but I'm not sure what it means for me.

I have used baudline in Ubuntu in past years without any problems. How can I make Ubuntu's sound configuration compatible with baudline again?

Best Answer

My fix was to run it like this

parec --format=s16le --channels=1 --latency-msec=5 | ./baudline -stdin

This uses parec to read from pulseaudio and pipes it to baudline.

Related Question