Changeset 59541 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 1, 2016 12:02:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchHdaCodec.cpp
r59503 r59541 2032 2032 *pResp = 0; 2033 2033 2034 uint32_t *pu32 addr;2034 uint32_t *pu32Addr = NULL; 2035 2035 if (hdaCodecIsDacNode(pThis, CODEC_NID(cmd))) 2036 pu32 addr = &pThis->paNodes[CODEC_NID(cmd)].dac.u32F06_param;2036 pu32Addr = &pThis->paNodes[CODEC_NID(cmd)].dac.u32F06_param; 2037 2037 else if (hdaCodecIsAdcNode(pThis, CODEC_NID(cmd))) 2038 pu32 addr = &pThis->paNodes[CODEC_NID(cmd)].adc.u32F06_param;2038 pu32Addr = &pThis->paNodes[CODEC_NID(cmd)].adc.u32F06_param; 2039 2039 else if (hdaCodecIsSpdifOutNode(pThis, CODEC_NID(cmd))) 2040 pu32 addr = &pThis->paNodes[CODEC_NID(cmd)].spdifout.u32F06_param;2040 pu32Addr = &pThis->paNodes[CODEC_NID(cmd)].spdifout.u32F06_param; 2041 2041 else if (hdaCodecIsSpdifInNode(pThis, CODEC_NID(cmd))) 2042 pu32 addr = &pThis->paNodes[CODEC_NID(cmd)].spdifin.u32F06_param;2042 pu32Addr = &pThis->paNodes[CODEC_NID(cmd)].spdifin.u32F06_param; 2043 2043 else if (hdaCodecIsReservedNode(pThis, CODEC_NID(cmd))) 2044 pu32 addr = &pThis->paNodes[CODEC_NID(cmd)].reserved.u32F06_param;2044 pu32Addr = &pThis->paNodes[CODEC_NID(cmd)].reserved.u32F06_param; 2045 2045 else 2046 2046 LogRel2(("HDA: Unhandled set stream ID command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 2047 2047 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 2048 2048 2049 hdaCodecSetRegisterU8(pu32addr, cmd, 0); 2049 if (pu32Addr) 2050 hdaCodecSetRegisterU8(pu32Addr, cmd, 0); 2051 2050 2052 return VINF_SUCCESS; 2051 2053 }
Note:
See TracChangeset
for help on using the changeset viewer.