VirtualBox

Ignore:
Timestamp:
Mar 9, 2021 2:15:43 PM (4 years ago)
Author:
vboxsync
Message:

Audio: Moved the host audio device enumeration code to PDM (VBox/vmm/pdmaudiohostenuminline.h). bugref:9890

File:
1 edited

Legend:

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

    r88047 r88053  
    15861586
    15871587    int rc;
    1588     PDSOUNDDEV pDev = (PDSOUNDDEV)PDMAudioDeviceAlloc(sizeof(DSOUNDDEV));
     1588    PDSOUNDDEV pDev = (PDSOUNDDEV)PDMAudioHostDevAlloc(sizeof(DSOUNDDEV));
    15891589    if (pDev)
    15901590    {
     
    16121612            return TRUE;
    16131613        }
    1614         PDMAudioDeviceFree(&pDev->Core);
     1614        PDMAudioHostDevFree(&pDev->Core);
    16151615    }
    16161616    else
     
    16451645
    16461646    int rc;
    1647     PDSOUNDDEV pDev = (PDSOUNDDEV)PDMAudioDeviceAlloc(sizeof(DSOUNDDEV));
     1647    PDSOUNDDEV pDev = (PDSOUNDDEV)PDMAudioHostDevAlloc(sizeof(DSOUNDDEV));
    16481648    if (pDev)
    16491649    {
     
    16681668            return TRUE;
    16691669        }
    1670         PDMAudioDeviceFree(&pDev->Core);
     1670        PDMAudioHostDevFree(&pDev->Core);
    16711671    }
    16721672    else
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