VirtualBox

Changeset 32412 in vbox


Ignore:
Timestamp:
Sep 10, 2010 2:45:16 PM (14 years ago)
Author:
vboxsync
Message:

HDA: Made Windows recognize a microphone.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevCodec.cpp

    r31990 r32412  
    468468    *pResp = 0;
    469469    uint32_t *pu32Reg = NULL;
     470    //** @todo r=michaln: Copy/paste bug? This can't be F08_parm!
    470471    if (STAC9220_IS_PORT_CMD(cmd))
    471472        pu32Reg = &pState->pNodes[CODEC_NID(cmd)].port.u32F08_param;
     
    10451046        case 0xD:
    10461047            pNode->node.name = "PortD";
    1047             pNode->port.u32F09_param = 0;
    10481048            pNode->node.au32F00_param[0xC] = 0x173f;
     1049            pNode->port.u32F09_param = RT_BIT(31)|0x9920; /* 39.2 kOhm */
     1050            pNode->port.u32F07_param = 0x20;
    10491051            *(uint32_t *)pNode->node.au8F02_param = 0x2;
     1052            if (!pState->fInReset)
     1053                pNode->port.u32F1c_param = 0x01A13040;  /* Microphone */
    10501054        port_init:
    10511055            pNode->port.u32F08_param = 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette