From d67b02d6cb8c097c70ff148464d82d52463abe5e Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 11 Aug 2016 19:31:28 +0800 Subject: 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. --- _asoundrc | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to '_asoundrc') 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 -} -- cgit v1.2.2