Changeset 71754 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Apr 9, 2018 1:27:04 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121856
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDACommon.h
r71736 r71754 572 572 * Not part of the actual BDLE registers. */ 573 573 HDABDLESTATE State; 574 } HDABDLE, *PHDABDLE; 574 } HDABDLE; 575 AssertCompileSizeAlignment(HDABDLE, 8); 576 /** Pointer to a buffer descriptor list entry (BDLE). */ 577 typedef HDABDLE *PHDABDLE; 575 578 576 579 /** @name Object lookup functions. -
trunk/src/VBox/Devices/Audio/HDAStream.h
r71736 r71754 118 118 volatile bool fRunning; 119 119 /** Unused, padding. */ 120 uint8_t Padding0[ 3];120 uint8_t Padding0[4]; 121 121 #ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO 122 122 /** Asynchronous I/O state members. */ … … 129 129 /** Circular buffer (FIFO) for holding DMA'ed data. */ 130 130 R3PTRTYPE(PRTCIRCBUF) pCircBuf; 131 #if HC_ARCH_BITS == 32 132 RTR3PTR Padding1; 133 #endif 131 134 /** Timestamp of the last DMA data transfer. */ 132 135 uint64_t tsTransferLast; … … 172 175 uint16_t cbDMALeft; 173 176 /** Unused, padding. */ 174 uint8_t Padding3; 175 } HDASTREAMSTATE, *PHDASTREAMSTATE; 177 uint8_t abPadding3[2+4]; 178 } HDASTREAMSTATE; 179 AssertCompileSizeAlignment(HDASTREAMSTATE, 8); 180 typedef HDASTREAMSTATE *PHDASTREAMSTATE; 176 181 177 182 /** -
trunk/src/VBox/Devices/Audio/HDAStreamMap.h
r71736 r71754 32 32 /** Circular buffer holding for holding audio data for this mapping. */ 33 33 R3PTRTYPE(PRTCIRCBUF) pCircBuf; 34 } HDASTREAMMAPPING, *PHDASTREAMMAPPING; 34 } HDASTREAMMAPPING; 35 AssertCompileSizeAlignment(HDASTREAMMAPPING, 8); 36 typedef HDASTREAMMAPPING *PHDASTREAMMAPPING; 35 37 36 38 /** @name Stream mapping functions. -
trunk/src/VBox/Devices/Audio/HDAStreamPeriod.h
r71736 r71754 52 52 typedef struct HDASTREAMPERIOD 53 53 { 54 /** Critical section for serializing access. */ 55 RTCRITSECT CritSect; 54 56 /** Associated HDA stream descriptor (SD) number. */ 55 57 uint8_t u8SD; 56 58 /** The period's status flags. */ 57 59 uint8_t fStatus; 58 uint8_t Padding1[6]; 59 /** Critical section for serializing access. */ 60 RTCRITSECT CritSect; 61 uint32_t Padding2[1]; 60 /** Number of pending interrupts required for this period. */ 61 uint8_t cIntPending; 62 uint8_t bPadding0; 62 63 /** Hertz (Hz) rate this period runs with. */ 63 64 uint32_t u32Hz; … … 74 75 /** Number of audio frames already transfered. */ 75 76 uint32_t framesTransferred; 76 /** Number of pending interrupts required for this period. */77 uint8_t cIntPending;78 uint8_t Padding3[7];79 77 #ifdef LOG_ENABLED 80 78 /** Debugging information. */ 81 79 HDASTREAMPERIODDBGINFO Dbg; 82 80 #endif 83 } HDASTREAMPERIOD, *PHDASTREAMPERIOD; 81 } HDASTREAMPERIOD; 82 AssertCompileSizeAlignment(HDASTREAMPERIOD, 8); 83 /** Pointer to a HDA stream's time period keeper. */ 84 typedef HDASTREAMPERIOD *PHDASTREAMPERIOD; 84 85 85 86 #ifdef IN_RING3
Note:
See TracChangeset
for help on using the changeset viewer.