Changeset 88017 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Mar 8, 2021 2:12:02 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143145
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp
r88016 r88017 1028 1028 AssertReturn(cbFrame, false); 1029 1029 return cb % cbFrame == 0; 1030 }1031 1032 /**1033 * Returns the bytes per second for given PCM properties.1034 *1035 * @returns Bytes per second.1036 * @param pProps PCM properties to retrieve size for.1037 */1038 DECLINLINE(uint64_t) drvAudioHlpBytesPerSec(PCPDMAUDIOPCMPROPS pProps)1039 {1040 return PDMAUDIOPCMPROPS_F2B(pProps, 1 /* Frame */) * pProps->uHz;1041 1030 } 1042 1031
Note:
See TracChangeset
for help on using the changeset viewer.