VirtualBox

Changeset 33681 in vbox for trunk/src


Ignore:
Timestamp:
Nov 2, 2010 11:19:45 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67305
Message:

Audio/HDA: move microphone on port D. Mac guest doesn't like enabled E port.

File:
1 edited

Legend:

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

    r33676 r33681  
    214214            pNode->port.u32F07_param = 0xc0;//RT_BIT(6);
    215215            pNode->port.u32F08_param = 0;
    216             pNode->port.u32F09_param = RT_BIT(31)|0x9920; /* 39.2 kOm */
    217216            if (!pState->fInReset)
    218217                pNode->port.u32F1c_param = RT_MAKE_U32_FROM_U8(0x20, 0x40, 0x21, 0x02);
     
    222221            pNode->node.au32F00_param[0xC] = 0x1737;
    223222            pNode->node.au32F02_param[0] = 0x4;
    224             pNode->port.u32F09_param = 0;
    225223            pNode->port.u32F07_param = RT_BIT(5);
    226224            if (!pState->fInReset)
     
    237235        case 0xD:
    238236            pNode->node.name = "PortD";
    239             pNode->node.au32F00_param[0xC] = 0x173c;
    240             pNode->port.u32F09_param = 0x173f;
    241             pNode->port.u32F07_param = RT_BIT(6);
     237            pNode->node.au32F00_param[0xC] = 0x1737;
     238            pNode->port.u32F07_param = RT_BIT(5);
    242239            pNode->node.au32F02_param[0] = 0x2;
    243240            if (!pState->fInReset)
    244                 pNode->port.u32F1c_param = 0x01013040;  /* Line Out */
     241                pNode->port.u32F1c_param = RT_MAKE_U32_FROM_U8(0x50, 0x90, 0xA1, 0x02); /* Microphone */
    245242        port_init:
    246243            pNode->port.u32F09_param = RT_BIT(31)|0x7fffffff;
     
    255252            pNode->node.au32F00_param[0xC] = 0x34;
    256253            pNode->port.u32F07_param = RT_BIT(5);
    257             pNode->port.u32F09_param = RT_BIT(31)|0x7fffffff;
     254            pNode->port.u32F09_param = 0x7fffffff;
    258255            if (!pState->fInReset)
    259                 pNode->port.u32F1c_param = RT_MAKE_U32_FROM_U8(0x50, 0x90, 0xA1, 0x02); /* Microphone */
     256                pNode->port.u32F1c_param = 0x01013040;  /* Line Out */
    260257            break;
    261258        case 0xF:
Note: See TracChangeset for help on using the changeset viewer.

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