VirtualBox

Changeset 88725 in vbox


Ignore:
Timestamp:
Apr 27, 2021 10:27:55 AM (4 years ago)
Author:
vboxsync
Message:

DrvAudio: No need to check of the backend has a pfnStreamGetStatus method, it's mandatory. bugref:9890

File:
1 edited

Legend:

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

    r88724 r88725  
    24412441             * Reading the actual data from a stream then will return silence then.
    24422442             */
    2443             uint32_t fStatus = PDMAUDIOSTREAM_STS_NONE;
    2444             if (pThis->pHostDrvAudio->pfnStreamGetStatus)
    2445                 fStatus = pThis->pHostDrvAudio->pfnStreamGetStatus(pThis->pHostDrvAudio, pStreamEx->pBackend);
     2443            uint32_t fStatus = pThis->pHostDrvAudio->pfnStreamGetStatus(pThis->pHostDrvAudio, pStreamEx->pBackend);
    24462444            if (   !PDMAudioStrmStatusCanRead(fStatus)
    24472445                || fDisabled)
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