correctly identify the beeper for AD1988 codecs

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28698 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2008-11-19 22:48:32 +00:00
parent 34bda3ae2d
commit 0e1e3de535
@@ -536,6 +536,11 @@ hda_codec_parse_audio_group(hda_audio_group* audioGroup)
/* Check specific node ids declared as inputs as beepers */
switch ((audioGroup->codec->vendor_id << 16) | audioGroup->codec->product_id) {
case 0x11d41988:
case 0x11d4198b:
if (nodeID == 26)
widget.type = WT_BEEP_GENERATOR;
break;
case 0x10ec0260:
if (nodeID == 23)
widget.type = WT_BEEP_GENERATOR;