ALSA: Difference between revisions

From SlackWiki
Jump to navigation Jump to search
(Added aplay)
(Checking ConfirmEdit extension)
Line 10: Line 10:


: <code>alsactl restore</code> is used to restore the volume settings.  This is automatically run on boot, so you usually won't need to run this command.
: <code>alsactl restore</code> is used to restore the volume settings.  This is automatically run on boot, so you usually won't need to run this command.
: <code>aplay</code> a command-line sound player.
: <code>speaker-test</code> is used to test speaker output.


There is one tip for the Sound Baster 5.1 cards: sometimes you want to MUTE digital out so you can hear on all the speakers; in alsamixer, you just press M on the <tt>Analog/Digital Output Jack</tt> item.
There is one tip for the Sound Baster 5.1 cards: sometimes you want to MUTE digital out so you can hear on all the speakers; in alsamixer, you just press M on the <tt>Analog/Digital Output Jack</tt> item.

Revision as of 23:27, 13 June 2011


Sound problems *should* be rare these days, and of the ones that still exist, they are likely related to suspend/resume. Those are driver issues which are largely out of your control, but see the documentation with the pm-utils package for details on handling those issues.

alsaconf used to be needed to set up sound cards in linux, but even that shouldn't be needed in recent linux distributions - everything should be handled automatically.
alsamixer can be used to change the volume.
alsactl store is used to save the volume settings.
alsactl restore is used to restore the volume settings. This is automatically run on boot, so you usually won't need to run this command.

There is one tip for the Sound Baster 5.1 cards: sometimes you want to MUTE digital out so you can hear on all the speakers; in alsamixer, you just press M on the Analog/Digital Output Jack item.