VirtualBox

Changeset 92235 in vbox for trunk


Ignore:
Timestamp:
Nov 5, 2021 8:50:10 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: More code for audio data beacon handling. Now has dedicated beacons for recording / playback tests [build fix]. bugref:10008

File:
1 edited

Legend:

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

    r92234 r92235  
    24742474    /* pOff is optional. */
    24752475
    2476     size_t         offBeacon   = UINT64_MAX;
     2476    uint64_t       offBeacon   = UINT64_MAX;
    24772477    uint32_t const cbFrameSize = PDMAudioPropsFrameSize(&pBeacon->Props); /* Use the audio frame size as chunk size. */
    24782478
     
    24812481
    24822482    /* Make sure that we do frame-aligned reads. */
    2483     cbBuf = PDMAudioPropsFloorBytesToFrame(&pBeacon->Props, cbBuf);
     2483    cbBuf = PDMAudioPropsFloorBytesToFrame(&pBeacon->Props, (uint32_t)cbBuf);
    24842484
    24852485    for (size_t i = 0; i < cbBuf; i += cbStep)
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