Changeset 31324 in vbox for trunk/src/VBox
- Timestamp:
- Aug 3, 2010 4:18:56 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64361
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r31294 r31324 446 446 return VINF_SUCCESS; 447 447 } 448 448 449 /* 703 */ 449 450 static int codecSetProcessingState(struct CODECState *pState, uint32_t cmd, uint64_t *pResp) … … 464 465 return VINF_SUCCESS; 465 466 } 467 466 468 /* F0D */ 467 469 static int codecGetDigitalConverter(struct CODECState *pState, uint32_t cmd, uint64_t *pResp) … … 481 483 return VINF_SUCCESS; 482 484 } 485 483 486 /* 70D */ 484 487 static int codecSetDigitalConverter1(struct CODECState *pState, uint32_t cmd, uint64_t *pResp) -
trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp
r31278 r31324 982 982 { 983 983 uint32_t v = HDA_REG_IND(pState, index); 984 //int rc = hdaRegWriteU8(pState, offset, index, u32Value); 985 switch (offset) 986 { 987 case 0x83: 988 SDSTS(pState, 0) ^= u32Value; 989 break; 990 case 0xA3: 991 SDSTS(pState, 1) ^= u32Value; 992 break; 993 case 0xC3: 994 SDSTS(pState, 2) ^= u32Value; 995 break; 996 case 0xE3: 997 SDSTS(pState, 3) ^= u32Value; 998 break; 999 case 0x103: 1000 SDSTS(pState, 4) ^= u32Value; 1001 break; 1002 case 0x123: 1003 SDSTS(pState, 5) ^= u32Value; 1004 break; 1005 case 0x143: 1006 SDSTS(pState, 6) ^= u32Value; 1007 break; 1008 case 0x163: 1009 SDSTS(pState, 7) ^= u32Value; 1010 break; 1011 } 984 v ^= (u32Value & v); 985 HDA_REG_IND(pState, index) = v; 1012 986 hdaProcessInterrupt(pState); 1013 987 #if 0
Note:
See TracChangeset
for help on using the changeset viewer.