VirtualBox

Changeset 89073 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
May 17, 2021 7:43:09 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144413
Message:

Audio/ValKit: Moved the AudioTestWaveXXX functions to AudioTest.cpp so those can also be used for injecting input (recording) data later [build fixes]. bugref:10008

File:
1 edited

Legend:

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

    r89072 r89073  
    10711071        if (pcbRead)
    10721072        {
    1073             pWaveFile->offCur += *pcbRead;
     1073            pWaveFile->offCur += (uint32_t)*pcbRead;
    10741074            if (cbBuf > *pcbRead)
    10751075                rc = VINF_EOF;
     
    10781078        }
    10791079        else
    1080             pWaveFile->offCur += cbBuf;
    1081     }
    1082     return rc;
    1083 }
    1084 
     1080            pWaveFile->offCur += (uint32_t)cbBuf;
     1081    }
     1082    return rc;
     1083}
     1084
Note: See TracChangeset for help on using the changeset viewer.

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