VirtualBox

Changeset 88878 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
May 5, 2021 3:36:34 PM (4 years ago)
Author:
vboxsync
Message:

DrvHostAudioWasApi: Fail if no PDMIHOSTAUDIOPORT interface below. bugref:9890

File:
1 edited

Legend:

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

    r88868 r88878  
    30623062
    30633063    /*
    3064      * Resolve the notification interface.
     3064     * Resolve the interface to the driver above us.
    30653065     */
    30663066    pThis->pIHostAudioPort = PDMIBASE_QUERY_INTERFACE(pDrvIns->pUpBase, PDMIHOSTAUDIOPORT);
    3067 # ifdef VBOX_WITH_AUDIO_CALLBACKS
    3068     AssertPtr(pThis->pIHostAudioPort);
    3069 # endif
     3067    AssertPtrReturn(pThis->pIHostAudioPort, VERR_PDM_MISSING_INTERFACE_ABOVE);
    30703068
    30713069    /*
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