Changeset 88053 in vbox
- Timestamp:
- Mar 9, 2021 2:15:43 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r88047 r88053 2180 2180 LogRel(("Audio: Device '%s':\n", pDev->szName)); 2181 2181 LogRel(("Audio: Usage = %s\n", PDMAudioDirGetName(pDev->enmUsage))); 2182 LogRel(("Audio: Flags = %s\n", PDMAudio DeviceFlagsToString(szFlags, pDev->fFlags)));2182 LogRel(("Audio: Flags = %s\n", PDMAudioHostDevFlagsToString(szFlags, pDev->fFlags))); 2183 2183 LogRel(("Audio: Input channels = %RU8\n", pDev->cMaxInputChannels)); 2184 2184 LogRel(("Audio: Output channels = %RU8\n", pDev->cMaxOutputChannels)); -
trunk/src/VBox/Devices/Audio/DrvHostCoreAudio.cpp
r88047 r88053 542 542 { 543 543 if (pDev) /* Some (skipped) device to clean up first? */ 544 PDMAudio DeviceFree(&pDev->Core);545 546 pDev = (PCOREAUDIODEVICEDATA)PDMAudio DeviceAlloc(sizeof(*pDev));544 PDMAudioHostDevFree(&pDev->Core); 545 546 pDev = (PCOREAUDIODEVICEDATA)PDMAudioHostDevAlloc(sizeof(*pDev)); 547 547 if (!pDev) 548 548 { … … 670 670 if (RT_FAILURE(rc)) 671 671 { 672 PDMAudio DeviceFree(&pDev->Core);672 PDMAudioHostDevFree(&pDev->Core); 673 673 pDev = NULL; 674 674 } … … 743 743 RTListForEach(&devEnmIn.LstDevices, pDevSrcIn, COREAUDIODEVICEDATA, Core.Node) 744 744 { 745 PCOREAUDIODEVICEDATA pDevDst = (PCOREAUDIODEVICEDATA)PDMAudio DeviceAlloc(sizeof(*pDevDst));745 PCOREAUDIODEVICEDATA pDevDst = (PCOREAUDIODEVICEDATA)PDMAudioHostDevAlloc(sizeof(*pDevDst)); 746 746 if (!pDevDst) 747 747 { … … 786 786 else 787 787 { 788 PDMAudio DeviceFree(&pDevDst->Core);788 PDMAudioHostDevFree(&pDevDst->Core); 789 789 pDevDst = NULL; 790 790 } … … 803 803 continue; /* Already in our list, skip. */ 804 804 805 PCOREAUDIODEVICEDATA pDevDst = (PCOREAUDIODEVICEDATA)PDMAudio DeviceAlloc(sizeof(*pDevDst));805 PCOREAUDIODEVICEDATA pDevDst = (PCOREAUDIODEVICEDATA)PDMAudioHostDevAlloc(sizeof(*pDevDst)); 806 806 if (!pDevDst) 807 807 { -
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r88047 r88053 1586 1586 1587 1587 int rc; 1588 PDSOUNDDEV pDev = (PDSOUNDDEV)PDMAudio DeviceAlloc(sizeof(DSOUNDDEV));1588 PDSOUNDDEV pDev = (PDSOUNDDEV)PDMAudioHostDevAlloc(sizeof(DSOUNDDEV)); 1589 1589 if (pDev) 1590 1590 { … … 1612 1612 return TRUE; 1613 1613 } 1614 PDMAudio DeviceFree(&pDev->Core);1614 PDMAudioHostDevFree(&pDev->Core); 1615 1615 } 1616 1616 else … … 1645 1645 1646 1646 int rc; 1647 PDSOUNDDEV pDev = (PDSOUNDDEV)PDMAudio DeviceAlloc(sizeof(DSOUNDDEV));1647 PDSOUNDDEV pDev = (PDSOUNDDEV)PDMAudioHostDevAlloc(sizeof(DSOUNDDEV)); 1648 1648 if (pDev) 1649 1649 { … … 1668 1668 return TRUE; 1669 1669 } 1670 PDMAudio DeviceFree(&pDev->Core);1670 PDMAudioHostDevFree(&pDev->Core); 1671 1671 } 1672 1672 else
Note:
See TracChangeset
for help on using the changeset viewer.