Changeset 82252 in vbox for trunk/src/VBox/Devices/Audio/DevHDACommon.cpp
- Timestamp:
- Nov 27, 2019 9:31:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDACommon.cpp
r81182 r82252 547 547 RT_BZERO(pProps, sizeof(PDMAUDIOPCMPROPS)); 548 548 549 pProps->c Bytes= cBytes;549 pProps->cbSample = cBytes; 550 550 pProps->fSigned = true; 551 551 pProps->cChannels = (u16SDFMT & 0xf) + 1; 552 552 pProps->uHz = u32Hz * u32HzMult / u32HzDiv; 553 pProps->cShift = PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(pProps->c Bytes, pProps->cChannels);553 pProps->cShift = PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(pProps->cbSample, pProps->cChannels); 554 554 } 555 555
Note:
See TracChangeset
for help on using the changeset viewer.