VirtualBox

Changeset 75011 in vbox


Ignore:
Timestamp:
Oct 23, 2018 5:15:40 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126048
Message:

VideoRec/Main: Also call the super class default function AudioDriver::configureDriver() when overriding it.

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp

    r73838 r75011  
    606606int AudioVRDE::configureDriver(PCFGMNODE pLunCfg)
    607607{
    608     CFGMR3InsertInteger(pLunCfg, "Object", (uintptr_t)this);
     608    int rc = CFGMR3InsertInteger(pLunCfg, "Object", (uintptr_t)this);
     609    AssertRCReturn(rc, rc);
    609610    CFGMR3InsertInteger(pLunCfg, "ObjectVRDPServer", (uintptr_t)mpConsole->i_consoleVRDPServer());
    610 
    611     return VINF_SUCCESS;
     611    AssertRCReturn(rc, rc);
     612
     613    return AudioDriver::configureDriver(pLunCfg);
    612614}
    613615
  • trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp

    r74955 r75011  
    10811081    AssertRCReturn(rc, rc);
    10821082
    1083     return rc;
     1083    return AudioDriver::configureDriver(pLunCfg);
    10841084}
    10851085
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