VirtualBox

Ignore:
Timestamp:
Nov 10, 2021 3:21:18 PM (3 years ago)
Author:
vboxsync
Message:

Audio/ValKit: Windows build fix for r148172. Also, 'off' is recognized hungarian, so skip the 'u'. bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp

    r92322 r92327  
    11161116                    bool const fStarted = AudioTestBeaconGetRemaining(pBeacon) == AudioTestBeaconGetSize(pBeacon);
    11171117
    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);
    11201120                    if (RT_SUCCESS(rc2))
    11211121                    {
    1122                         cbWritten += uOff;
    1123                         auBuf     += uOff;
     1122                        cbWritten += (uint32_t)off;
     1123                        auBuf     += off;
    11241124                    }
    11251125
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette