Changeset 102612 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Dec 15, 2023 12:36:51 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioWasApi.cpp
r102596 r102612 815 815 * Invalidates device cache entry configurations. 816 816 * 817 * This is needed in order to not run into deadlocks when trying to release a stale device interface 818 * via Release(). 819 * 817 820 * @param pThis The WASAPI host audio driver instance data. 818 821 * @param pDevEntry The device entry to invalidate. … … 841 844 PDRVHOSTAUDIOWASCACHEDEVCFG pDevCfg, pDevCfgNext; 842 845 RTListForEachSafe(&pDevEntry->ConfigList, pDevCfg, pDevCfgNext, DRVHOSTAUDIOWASCACHEDEVCFG, ListEntry) 843 {844 846 drvHostAudioWasCacheDestroyDevConfig(pThis, pDevCfg); 845 }846 847 847 848 uint32_t cDevRefs = 0; … … 1262 1263 if (pIDevice != pDevEntry->pIDevice) 1263 1264 { 1264 Log 2Func(("Cache hit for device '%ls': Stale interface (new: %p, old: %p)\n",1265 LogRel2(("WasAPI: Cache hit for device '%ls': Stale interface (new: %p, old: %p)\n", 1265 1266 pDevEntry->wszDevId, pIDevice, pDevEntry->pIDevice)); 1266 1267 … … 1275 1276 } 1276 1277 1278 LogRel2(("WasAPI: Cache hit for device '%ls' (%p)\n", pwszDevId, pIDevice)); 1279 1277 1280 CoTaskMemFree(pwszDevId); 1278 Log8Func(("Cache hit for device '%ls': %p\n", pDevEntry->wszDevId, pDevEntry)); 1281 pwszDevId = NULL; 1282 1279 1283 return drvHostAudioWasCacheLookupOrCreateConfig(pThis, pDevEntry, pCfgReq, fOnWorker, ppDevCfg); 1280 1284 } … … 1282 1286 RTCritSectLeave(&pThis->CritSectCache); 1283 1287 1284 if (pDevEntry) 1285 Log8Func(("Cache miss for device '%ls': %p\n", pDevEntry->wszDevId, pDevEntry)); 1288 LogRel2(("WasAPI: Cache miss for device '%ls' (%p)\n", pwszDevId, pIDevice)); 1286 1289 1287 1290 /*
Note:
See TracChangeset
for help on using the changeset viewer.