Changeset 31990 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Aug 26, 2010 12:45:26 PM (14 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r31984 r31990 347 347 else if (STAC9220_IS_CD_CMD(cmd)) 348 348 *pResp = pState->pNodes[CODEC_NID(cmd)].cdnode.u32F07_param; 349 else if ( STAC9220_IS_RESERVED_CMD(cmd) 350 && CODEC_NID(cmd) == 0x1b) 351 *pResp = pState->pNodes[CODEC_NID(cmd)].reserved.u32F07_param; 349 352 else 350 353 AssertMsgFailed(("Unsupported")); … … 372 375 else if (STAC9220_IS_CD_CMD(cmd)) 373 376 pu32Reg = &pState->pNodes[CODEC_NID(cmd)].cdnode.u32F07_param; 377 else if ( STAC9220_IS_RESERVED_CMD(cmd) 378 && CODEC_NID(cmd) == 0x1b) 379 pu32Reg = &pState->pNodes[CODEC_NID(cmd)].reserved.u32F07_param; 374 380 Assert((pu32Reg)); 375 381 if (pu32Reg) … … 1163 1169 pNode->node.au32F00_param[0xE] = 0x1; 1164 1170 pNode->node.au8F02_param[0] = 0x1a; 1171 pNode->reserved.u32F07_param = 0; 1165 1172 break; 1166 1173 default: -
trunk/src/VBox/Devices/Audio/DevCodec.h
r31771 r31990 183 183 } ADCVOLNODE, *PADCVOLNODE; 184 184 185 typedef struct RESNODE 186 { 187 CODECCOMMONNODE node; 188 uint32_t u32F07_param; 189 } RESNODE, *PRESNODE; 190 185 191 typedef union CODECNODE 186 192 { … … 200 206 VOLUMEKNOBNODE volumeKnob; 201 207 ADCVOLNODE adcvol; 208 RESNODE reserved; 202 209 } CODECNODE, *PCODECNODE; 203 210
Note:
See TracChangeset
for help on using the changeset viewer.