Changeset 70193 in vbox
- Timestamp:
- Dec 18, 2017 1:37:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r70073 r70193 494 494 * Note: Does only support mono/stereo channels for now. */ 495 495 #define PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(cBits, cChannels) ((cChannels == 2) + (cBits / 16)) 496 /** Calculates the cShift value of a PDMAUDIOPCMPROPS structure. 497 * Note: Does only support mono/stereo channels for now. */ 498 #define PDMAUDIOPCMPROPS_MAKE_SHIFT(pProps) PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS((pProps)->cChannels == 2) + (pProps)->cBits / 16) 496 /** Calculates the cShift value of a PDMAUDIOPCMPROPS structure. */ 497 #define PDMAUDIOPCMPROPS_MAKE_SHIFT(pProps) PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS((pProps)->cBits, (pProps)->cChannels) 499 498 /** Converts (audio) frames to bytes. 500 499 * Needs the cShift value set correctly, using PDMAUDIOPCMPROPS_MAKE_SHIFT. */
Note:
See TracChangeset
for help on using the changeset viewer.