Changeset 89372 in vbox for trunk/include
- Timestamp:
- May 29, 2021 3:20:51 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r89348 r89372 683 683 /** Initializer for PDMAUDIOPCMPROPS. */ 684 684 #define PDMAUDIOPCMPROPS_INITIALIZER(a_cbSample, a_fSigned, a_cChannels, a_uHz, a_fSwapEndian) \ 685 { ( a_cbSample) * (a_cChannels), PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(a_cbSample, a_cChannels), a_cbSample, a_cChannels, \686 a_fSigned, a_fSwapEndian, false /*fRaw*/, a_uHz }685 { (uint8_t)((a_cbSample) * (a_cChannels)), PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(a_cbSample, a_cChannels), \ 686 (uint8_t)(a_cbSample), (uint8_t)(a_cChannels), a_fSigned, a_fSwapEndian, false /*fRaw*/, a_uHz } 687 687 /** Calculates the cShift value of given sample bits and audio channels. 688 688 * @note Does only support mono/stereo channels for now, for non-stereo/mono we
Note:
See TracChangeset
for help on using the changeset viewer.