Changeset 31172 in vbox
- Timestamp:
- Jul 28, 2010 4:02:38 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64158
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r31156 r31172 231 231 *pResp = pState->pNodes[CODEC_NID(cmd)].volumeKnob.u32F08_param; 232 232 else 233 AssertMsgFailed(("unsup orted operation %x on node: %x\n", CODEC_VERB_CMD8(cmd), CODEC_NID(cmd)));233 AssertMsgFailed(("unsupported operation %x on node: %x\n", CODEC_VERB_CMD8(cmd), CODEC_NID(cmd))); 234 234 return VINF_SUCCESS; 235 235 } … … 248 248 pu32Reg = &pState->pNodes[CODEC_NID(cmd)].volumeKnob.u32F08_param; 249 249 else 250 AssertMsgFailed(("unsup orted operation %x on node: %x\n", CODEC_VERB_CMD8(cmd), CODEC_NID(cmd)));250 AssertMsgFailed(("unsupported operation %x on node: %x\n", CODEC_VERB_CMD8(cmd), CODEC_NID(cmd))); 251 251 Assert(pu32Reg); 252 252 *pu32Reg &= ~CODEC_VERB_8BIT_DATA; … … 255 255 } 256 256 257 static int codecGetPinSen ce(struct CODECState *pState, uint32_t cmd, uint64_t *pResp)257 static int codecGetPinSense(struct CODECState *pState, uint32_t cmd, uint64_t *pResp) 258 258 { 259 259 *pResp = 0; … … 263 263 *pResp = pState->pNodes[CODEC_NID(cmd)].digin.u32F09_param; 264 264 else 265 AssertMsgFailed(("unsup orted operation %x on node: %x\n", CODEC_VERB_CMD8(cmd), CODEC_NID(cmd)));266 return VINF_SUCCESS; 267 } 268 static int codecSetPinSen ce(struct CODECState *pState, uint32_t cmd, uint64_t *pResp)265 AssertMsgFailed(("unsupported operation %x on node: %x\n", CODEC_VERB_CMD8(cmd), CODEC_NID(cmd))); 266 return VINF_SUCCESS; 267 } 268 static int codecSetPinSense(struct CODECState *pState, uint32_t cmd, uint64_t *pResp) 269 269 { 270 270 *pResp = 0; … … 721 721 {0x000F0800, CODEC_VERB_8BIT_CMD , codecGetUnsolicitedEnabled }, 722 722 {0x00070800, CODEC_VERB_8BIT_CMD , codecSetUnsolicitedEnabled }, 723 {0x000F0900, CODEC_VERB_8BIT_CMD , codecGetPinSen ce },724 {0x00070900, CODEC_VERB_8BIT_CMD , codecSetPinSen ce },723 {0x000F0900, CODEC_VERB_8BIT_CMD , codecGetPinSense }, 724 {0x00070900, CODEC_VERB_8BIT_CMD , codecSetPinSense }, 725 725 {0x000F0200, CODEC_VERB_8BIT_CMD , codecGetConnectionListEntry }, 726 726 {0x000F0300, CODEC_VERB_8BIT_CMD , codecGetProcessingState }, … … 846 846 stac9220ResetNode(pState, i, &pState->pNodes[i]); 847 847 } 848 //** @todo r=michaln: Was this meant to be 'HDA' or something like that? (AC'97 was on ICH0) 848 849 AUD_register_card ("ICH0", &pState->card); 849 850 -
trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp
r31156 r31172 677 677 if (!HDA_REG_FLAG_VALUE(pState, GCTL, UR)) 678 678 { 679 Log(("hda: unsoli sited response %016lx is ignored\n"));679 Log(("hda: unsolicited response %016lx is ignored\n")); 680 680 return VINF_SUCCESS; 681 681 } … … 718 718 && !HDA_REG_FLAG_VALUE(pState, GCTL, UR)) 719 719 { 720 Log(("hda: unexpected unsoli sited response.\n"));720 Log(("hda: unexpected unsolicited response.\n")); 721 721 pState->au32Regs[ICH6_HDA_REG_CORBRP] = corbRp; 722 722 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.