VirtualBox

Changeset 60643 in vbox


Ignore:
Timestamp:
Apr 22, 2016 9:20:21 AM (9 years ago)
Author:
vboxsync
Message:

HDA: Presence must be inited for each node separately.

File:
1 edited

Legend:

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

    r60623 r60643  
    10551055        case STAC9220_NID_PIN_HEADPHONE0: /* Port A: Headphone in/out (front). */
    10561056        {
     1057            pNode->port.u32F09_param = CODEC_MAKE_F09_ANALOG(false /*fPresent*/, CODEC_F09_ANALOG_NA);
     1058
    10571059            pNode->port.node.au32F00_param[0xC] = CODEC_MAKE_F00_0C(0x17)
    10581060                                                | CODEC_F00_0C_CAP_INPUT
     
    10781080        case STAC9220_NID_PIN_B: /* Port B: Rear CLFE (Center / Subwoofer). */
    10791081        {
     1082            pNode->port.u32F09_param = CODEC_MAKE_F09_ANALOG(true /*fPresent*/, CODEC_F09_ANALOG_NA);
     1083
    10801084            pNode->port.node.au32F00_param[0xC] = CODEC_MAKE_F00_0C(0x17)
    10811085                                                | CODEC_F00_0C_CAP_INPUT
     
    11001104        case STAC9220_NID_PIN_C: /* Rear Speaker. */
    11011105        {
    1102             pNode->port.u32F09_param = CODEC_MAKE_F09_ANALOG(1, CODEC_F09_ANALOG_NA);
     1106            pNode->port.u32F09_param = CODEC_MAKE_F09_ANALOG(true /*fPresent*/, CODEC_F09_ANALOG_NA);
    11031107
    11041108            pNode->port.node.au32F00_param[0xC] = CODEC_MAKE_F00_0C(0x17)
     
    11241128        case STAC9220_NID_PIN_HEADPHONE1: /* Also known as PIN_D. */
    11251129        {
    1126             pNode->port.u32F09_param = CODEC_MAKE_F09_ANALOG(1, CODEC_F09_ANALOG_NA);
     1130            pNode->port.u32F09_param = CODEC_MAKE_F09_ANALOG(false /*fPresent*/, CODEC_F09_ANALOG_NA);
    11271131
    11281132            pNode->port.node.au32F00_param[0xC] = CODEC_MAKE_F00_0C(0x17)
     
    11501154                                     | CODEC_F07_OUT_ENABLE;
    11511155            pNode->port.u32F08_param = 0;
    1152             pNode->port.u32F09_param = CODEC_MAKE_F09_ANALOG(true /* fPresent */, CODEC_F09_ANALOG_NA);
    11531156
    11541157            pNode->port.node.au32F00_param[0x9] = CODEC_MAKE_F00_09(CODEC_F00_09_TYPE_PIN_COMPLEX, 0, 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