Changeset 92327 in vbox for trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp
- Timestamp:
- Nov 10, 2021 3:21:18 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp
r92322 r92327 1116 1116 bool const fStarted = AudioTestBeaconGetRemaining(pBeacon) == AudioTestBeaconGetSize(pBeacon); 1117 1117 1118 size_t uOff; /* Points at the data right *after the found beacon data. */1119 rc2 = AudioTestBeaconAddConsecutive(pBeacon, auBuf, cbBuf - cbWritten, & uOff);1118 size_t off = 0; /* Points at the data right *after the found beacon data on return. */ 1119 rc2 = AudioTestBeaconAddConsecutive(pBeacon, auBuf, cbBuf - cbWritten, &off); 1120 1120 if (RT_SUCCESS(rc2)) 1121 1121 { 1122 cbWritten += uOff;1123 auBuf += uOff;1122 cbWritten += (uint32_t)off; 1123 auBuf += off; 1124 1124 } 1125 1125
Note:
See TracChangeset
for help on using the changeset viewer.