VirtualBox

Changeset 32626 in vbox


Ignore:
Timestamp:
Sep 20, 2010 8:15:34 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66031
Message:

Audio/HDA: (assert fix) configuration register of reserved 0x1B-node is filled with the value dumped from real stac9220.

Location:
trunk/src/VBox/Devices/Audio
Files:
2 edited

Legend:

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

    r32438 r32626  
    896896    else if (STAC9220_IS_CD_CMD(cmd))
    897897        pu32Reg = &pState->pNodes[CODEC_NID(cmd)].cdnode.u32F1c_param;
     898    else if (CODEC_NID(cmd) == 0x1B)
     899        pu32Reg = &pState->pNodes[CODEC_NID(cmd)].reserved.u32F1c_param;
    898900    Assert((pu32Reg));
    899901    if (pu32Reg)
     
    11731175            pNode->node.au8F02_param[0] = 0x1a;
    11741176            pNode->reserved.u32F07_param = 0;
     1177            pNode->reserved.u32F1c_param = 0x400000fb; /* dumped from real stac9220 chip */
    11751178            break;
    11761179        default:
  • trunk/src/VBox/Devices/Audio/DevCodec.h

    r32431 r32626  
    187187    CODECCOMMONNODE node;
    188188    uint32_t    u32F07_param;
     189    uint32_t    u32F1c_param;
    189190} RESNODE, *PRESNODE;
    190191
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