- Timestamp:
- Oct 20, 2021 11:52:45 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioDSound.cpp
r91425 r91884 2665 2665 2666 2666 2667 static LPCGUID dsoundConfigQueryGUID(PCFGMNODE pCfg, const char *pszName, RTUUID *pUuid) 2668 { 2667 static LPCGUID dsoundConfigQueryGUID(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, const char *pszName, RTUUID *pUuid) 2668 { 2669 PCPDMDRVHLPR3 pHlp = pDrvIns->pHlpR3; 2669 2670 LPCGUID pGuid = NULL; 2670 2671 2671 2672 char *pszGuid = NULL; 2672 int rc = CFGMR3QueryStringAlloc(pCfg, pszName, &pszGuid);2673 int rc = pHlp->pfnCFGMQueryStringAlloc(pCfg, pszName, &pszGuid); 2673 2674 if (RT_SUCCESS(rc)) 2674 2675 { … … 2688 2689 static void dsoundConfigInit(PDRVHOSTDSOUND pThis, PCFGMNODE pCfg) 2689 2690 { 2690 pThis->Cfg.pGuidPlay = dsoundConfigQueryGUID(p Cfg, "DeviceGuidOut", &pThis->Cfg.uuidPlay);2691 pThis->Cfg.pGuidCapture = dsoundConfigQueryGUID(p Cfg, "DeviceGuidIn", &pThis->Cfg.uuidCapture);2691 pThis->Cfg.pGuidPlay = dsoundConfigQueryGUID(pThis->pDrvIns, pCfg, "DeviceGuidOut", &pThis->Cfg.uuidPlay); 2692 pThis->Cfg.pGuidCapture = dsoundConfigQueryGUID(pThis->pDrvIns, pCfg, "DeviceGuidIn", &pThis->Cfg.uuidCapture); 2692 2693 2693 2694 DSLOG(("DSound: Configuration: DeviceGuidOut {%RTuuid}, DeviceGuidIn {%RTuuid}\n",
Note:
See TracChangeset
for help on using the changeset viewer.