Changeset 89381 in vbox for trunk/src/VBox
- Timestamp:
- May 30, 2021 8:58:13 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHdaStream.h
r89379 r89381 158 158 uint32_t idxScheduleLoop; 159 159 160 uint64_t u64Padding;161 160 /** Buffer descriptors and additional timer scheduling state. 162 161 * (Same as HDABDLEDESC, with more sensible naming.) */ … … 246 245 247 246 /** Pad the structure size to a 64 byte alignment. */ 248 uint64_t au64Padding1[ 4];247 uint64_t au64Padding1[2]; 249 248 /** Critical section for serialize access to the stream state between the async 250 249 * I/O thread and (basically) the guest. */ … … 312 311 /** Debug bits. */ 313 312 HDASTREAMDEBUG Dbg; 314 uint64_t au64Alignment[ 1];313 uint64_t au64Alignment[6]; 315 314 } HDASTREAMR3; 316 315 AssertCompileSizeAlignment(HDASTREAMR3, 64); -
trunk/src/VBox/Devices/Audio/DevHdaStreamMap.cpp
r89379 r89381 295 295 { 296 296 PPDMAUDIOSTREAMMAP pMapLR = &pMap->paMappings[0]; 297 pMapLR->aenmIDs[0] = PDMAUDIO STREAMCHANNELID_FRONT_LEFT;298 pMapLR->aenmIDs[1] = PDMAUDIO STREAMCHANNELID_FRONT_RIGHT;297 pMapLR->aenmIDs[0] = PDMAUDIOCHANNELID_FRONT_LEFT; 298 pMapLR->aenmIDs[1] = PDMAUDIOCHANNELID_FRONT_RIGHT; 299 299 pMapLR->cbFrame = PDMAudioPropsFrameSize(pProps); 300 300 pMapLR->cbStep = PDMAudioPropsSampleSize(pProps) * 2 /* Front left + Front right channels */;
Note:
See TracChangeset
for help on using the changeset viewer.