diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-08-11 19:31:28 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-08-11 19:31:28 +0800 |
commit | d67b02d6cb8c097c70ff148464d82d52463abe5e (patch) | |
tree | 442d5aaa0cf4ae138f83e8d86f4e592d196b03c7 /_asoundrc | |
parent | 6814250a0c95e0849c191e7f5fe8e2a8bee31440 (diff) | |
download | dotfiles-d67b02d6cb8c097c70ff148464d82d52463abe5e.tar.bz2 |
Rewrite _asoundrc to fix the sound problem with ALSA
Some applications (e.g., firefox, flash, mpd) need the default sound
device been set, otherwise there is no sound.
See the Gentoo ALSA Wiki for more details.
Diffstat (limited to '_asoundrc')
-rw-r--r-- | _asoundrc | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -2,19 +2,20 @@ # ~/.asoundrc # Gentoo Linux @ ThinkPad T450s # -# Aaron LI -# 2016-06-13 +# References: +# [1] Gentoo Wiki: ALSA +# https://wiki.gentoo.org/wiki/ALSA +# [2] AlsaProject: Asoundrc +# http://www.alsa-project.org/main/index.php/Asoundrc # - -# http://www.alsa-project.org/main/index.php/Asoundrc # see also '/proc/asound/cards' +# +# Aaron LI +# Created: 2016-06-13 +# Updated: 2016-08-11 +# -pcm.!default { - type hw - card PCH -} +defaults.pcm.!card PCH +defaults.pcm.!device 0 +defaults.ctl.!card PCH -ctl.!default { - type hw - card PCH -} |