- Timestamp:
- Dec 9, 2014 9:21:11 AM (10 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchHda.cpp
r53442 r53485 627 627 * LUN has a HDA driver assigned. */ 628 628 uint8_t cLUNs; 629 uint8_t au8PaddingLUNs[4]; 629 630 /** The HDA codec to use. */ 630 631 R3PTRTYPE(PHDACODEC) pCodec; … … 645 646 /** 1.2.3.4.5.6.7. - someone please tell me what I'm counting! - .8.9.10... */ 646 647 uint8_t u8Counter; 648 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 649 uint8_t au8Padding[4]; 650 #else 647 651 uint8_t au8Padding[7]; 652 #endif 648 653 } HDASTATE; 649 654 /** Pointer to the ICH Intel HD Audio Controller state. */ … … 1478 1483 pBdle = &pThis->StInBdle; 1479 1484 break; 1485 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 1480 1486 case HDA_REG_SD2CTL: 1481 1487 u8Strm = 2; 1482 1488 pBdle = &pThis->StMicBdle; 1483 1489 break; 1490 #endif 1484 1491 case HDA_REG_SD4CTL: 1485 1492 u8Strm = 4; -
trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp
r53342 r53485 1858 1858 GEN_CHECK_OFF(HDASTATE, fR0Enabled); 1859 1859 GEN_CHECK_OFF(HDASTATE, fRCEnabled); 1860 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 1861 GEN_CHECK_OFF(HDASTATE, cLUNs); 1860 1862 GEN_CHECK_OFF(HDASTATE, pCodec); 1863 GEN_CHECK_OFF(HDASTATE, paDrv); 1864 GEN_CHECK_OFF(HDASTATE, pMixer); 1865 GEN_CHECK_OFF(HDASTATE, pSinkLineIn); 1866 GEN_CHECK_OFF(HDASTATE, pSinkMicIn); 1867 #else 1868 GEN_CHECK_OFF(HDASTATE, pCodec); 1869 GEN_CHECK_OFF(HDASTATE, u64BaseTS); 1861 1870 GEN_CHECK_OFF(HDASTATE, u8Counter); 1862 GEN_CHECK_OFF(HDASTATE, u64BaseTS); 1871 #endif 1863 1872 1864 1873 return (0);
Note:
See TracChangeset
for help on using the changeset viewer.