File alsa-lib-hda-namehint-fix.diff of Package alsa
From e38f921625a13a5367f34c343893aa8f2d15efe4 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Fri, 13 Feb 2009 17:14:51 +0100
Subject: [PATCH] Add hint.device = 0 to pcm.default of HDA-Intel.conf
The hd-audio driver may have no analog stream but only a digital one
which has usually non-zero device number. To avoid the bogus namehint,
set hint.device 0 for pcm.default (it wasn't handled properly due to
asym).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
src/conf/cards/HDA-Intel.conf | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/conf/cards/HDA-Intel.conf b/src/conf/cards/HDA-Intel.conf
index bcbcb9b..800281e 100644
--- a/src/conf/cards/HDA-Intel.conf
+++ b/src/conf/cards/HDA-Intel.conf
@@ -58,6 +58,7 @@ HDA-Intel.pcm.default {
resolution 121
}
}
+ hint.device 0
}
<confdir:pcm/surround40.conf>
--
1.6.1.3