VirtualBox

Ignore:
Timestamp:
Feb 25, 2015 1:23:21 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98600
Message:

PDM/Audio: Fixed crashes on termination.

File:
1 edited

Legend:

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

    r54433 r54491  
    207207}
    208208
    209 static DECLCALLBACK(void) drvHostNullAudioDestruct(PPDMDRVINS pDrvIns)
    210 {
    211     NOREF(pDrvIns);
     209static DECLCALLBACK(void) drvHostNullAudioShutdown(PPDMIHOSTAUDIO pInterface)
     210{
     211    NOREF(pInterface);
    212212}
    213213
     
    219219static DECLCALLBACK(int) drvHostNullAudioConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)
    220220{
     221    AssertPtrReturn(pDrvIns, VERR_INVALID_POINTER);
     222    /* pCfg is optional. */
     223
    221224    PDRVHOSTNULLAUDIO pThis = PDMINS_2_DATA(pDrvIns, PDRVHOSTNULLAUDIO);
    222225    LogRel(("Audio: Initializing NULL driver\n"));
     
    260263    drvHostNullAudioConstruct,
    261264    /* pfnDestruct */
    262     drvHostNullAudioDestruct,
     265    NULL,
    263266    /* pfnRelocate */
    264267    NULL,
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