VirtualBox

Changeset 73872 in vbox for trunk/src


Ignore:
Timestamp:
Aug 24, 2018 11:53:14 AM (6 years ago)
Author:
vboxsync
Message:

Audio/DrvAudio: Take a shortcut in drvAudioStreamCaptureNonInterleaved() if nothing was captured.

File:
1 edited

Legend:

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

    r73830 r73872  
    16081608        if (cbCaptured > cbBuf) /* Paranoia. */
    16091609            cbCaptured = cbBuf;
     1610
     1611        if (!cbCaptured) /* Nothing captured? Take a shortcut. */
     1612            break;
    16101613
    16111614        /* We use the host side mixing buffer as an intermediate buffer to do some
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