Better Linux Sound Managment With ALSA, Part 2
Submitted by srlinuxx on Fri, 03/07/2008 - 04:43.
Last week we learned how to configure soundcards for playback with ALSA. It's easy, it works on all Linuxes, it doesn't create conflicts or introduce latency, and it doesn't require the X Window System. Today we're going to use ALSA for recording, and learn how to test our sound system.
A quick and horrid way to see if sound is working is to pipe the contents of a file to dev/dsp:
$ cat /dev/urandom > /dev/dsp
A more pleasant way is to use alsa-utils. It includes a number of useful commands for testing your setup. The speaker-test command tests your speaker channels. This example is for a simple two-speaker stereo setup:
$ speaker-test -t wav -D plug:front -c2 -l2


Recent comments
3 hours 48 min ago
12 hours 9 min ago
13 hours 55 min ago
14 hours 42 min ago
20 hours 13 min ago
1 day 5 hours ago
1 day 6 hours ago
1 day 10 hours ago