- Timestamp:
- Nov 5, 2021 8:50:10 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioTest.cpp
r92234 r92235 2474 2474 /* pOff is optional. */ 2475 2475 2476 size_toffBeacon = UINT64_MAX;2476 uint64_t offBeacon = UINT64_MAX; 2477 2477 uint32_t const cbFrameSize = PDMAudioPropsFrameSize(&pBeacon->Props); /* Use the audio frame size as chunk size. */ 2478 2478 … … 2481 2481 2482 2482 /* Make sure that we do frame-aligned reads. */ 2483 cbBuf = PDMAudioPropsFloorBytesToFrame(&pBeacon->Props, cbBuf);2483 cbBuf = PDMAudioPropsFloorBytesToFrame(&pBeacon->Props, (uint32_t)cbBuf); 2484 2484 2485 2485 for (size_t i = 0; i < cbBuf; i += cbStep)
Note:
See TracChangeset
for help on using the changeset viewer.