aboutsummaryrefslogtreecommitdiffstats
path: root/_asoundrc
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-08-11 19:31:28 +0800
committerAaron LI <aaronly.me@outlook.com>2016-08-11 19:31:28 +0800
commitd67b02d6cb8c097c70ff148464d82d52463abe5e (patch)
tree442d5aaa0cf4ae138f83e8d86f4e592d196b03c7 /_asoundrc
parent6814250a0c95e0849c191e7f5fe8e2a8bee31440 (diff)
downloaddotfiles-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--_asoundrc25
1 files changed, 13 insertions, 12 deletions
diff --git a/_asoundrc b/_asoundrc
index 39e8ad4..96aec0d 100644
--- a/_asoundrc
+++ b/_asoundrc
@@ -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
-}