Changeset 57164 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Aug 3, 2015 8:41:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r57148 r57164 1541 1541 static int dsoundConfigQueryStringAlloc(PCFGMNODE pNode, const char *pszName, char **ppszString) 1542 1542 { 1543 /** @todo r=bird: What's wrong with CFGMR3QueryStringAlloc ?? */ 1543 1544 size_t cbString; 1544 1545 int rc = CFGMR3QuerySize(pNode, pszName, &cbString); … … 1602 1603 { 1603 1604 PDRVHOSTDSOUND pThis = PDMINS_2_DATA(pDrvIns, PDRVHOSTDSOUND); 1604 1605 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns); 1605 1606 LogFlowFuncEnter(); 1606 1607 1607 CoUninitialize(); 1608 if (pThis->pDrvIns) 1609 CoUninitialize(); 1608 1610 1609 1611 LogFlowFuncLeave(); … … 1618 1620 { 1619 1621 PDRVHOSTDSOUND pThis = PDMINS_2_DATA(pDrvIns, PDRVHOSTDSOUND); 1620 DSLOGREL(("Audio: Initializing DirectSound audio driver\n")); 1622 LogRel(("Audio: Initializing DirectSound audio driver\n")); 1623 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 1621 1624 1622 1625 HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); 1623 1626 if (FAILED(hr)) 1624 1627 { 1625 DSLOGREL(("DSound: COM initialize %Rhrc\n", hr));1628 LogRel(("DSound: COM initialize %Rhrc\n", hr)); 1626 1629 return VERR_NOT_SUPPORTED; 1627 1630 }
Note:
See TracChangeset
for help on using the changeset viewer.