Changeset 88055 in vbox for trunk/include
- Timestamp:
- Mar 9, 2021 2:39:16 PM (4 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudiohostenuminline.h
r88054 r88055 73 73 pDev->uMagic = PDMAUDIOHOSTDEV_MAGIC; 74 74 pDev->cbSelf = (uint32_t)cb; 75 RTListInit(&pDev-> Node);75 RTListInit(&pDev->ListEntry); 76 76 77 77 //pDev->cMaxInputChannels = 0; … … 119 119 { 120 120 memcpy(pDevDup, pDev, cbToDup); 121 RTListInit(&pDevDup-> Node);121 RTListInit(&pDevDup->ListEntry); 122 122 pDev->cbSelf = cbToDup; 123 123 } … … 156 156 157 157 PPDMAUDIOHOSTDEV pDev, pDevNext; 158 RTListForEachSafe(&pDevEnm->LstDevices, pDev, pDevNext, PDMAUDIOHOSTDEV, Node)159 { 160 RTListNodeRemove(&pDev-> Node);158 RTListForEachSafe(&pDevEnm->LstDevices, pDev, pDevNext, PDMAUDIOHOSTDEV, ListEntry) 159 { 160 RTListNodeRemove(&pDev->ListEntry); 161 161 162 162 PDMAudioHostDevFree(pDev); … … 185 185 Assert(pDevEnm->uMagic == PDMAUDIOHOSTENUM_MAGIC); 186 186 187 RTListAppend(&pDevEnm->LstDevices, &pDev-> Node);187 RTListAppend(&pDevEnm->LstDevices, &pDev->ListEntry); 188 188 pDevEnm->cDevices++; 189 189 } … … 211 211 212 212 PPDMAUDIOHOSTDEV pSrcDev; 213 RTListForEach(&pSrcDevEnm->LstDevices, pSrcDev, PDMAUDIOHOSTDEV, Node)213 RTListForEach(&pSrcDevEnm->LstDevices, pSrcDev, PDMAUDIOHOSTDEV, ListEntry) 214 214 { 215 215 if ( enmUsage == pSrcDev->enmUsage … … 244 244 245 245 PPDMAUDIOHOSTDEV pDev; 246 RTListForEach(&pDevEnm->LstDevices, pDev, PDMAUDIOHOSTDEV, Node)246 RTListForEach(&pDevEnm->LstDevices, pDev, PDMAUDIOHOSTDEV, ListEntry) 247 247 { 248 248 if (pDev->fFlags & PDMAUDIOHOSTDEV_F_DEFAULT) … … 275 275 uint32_t cDevs = 0; 276 276 PPDMAUDIOHOSTDEV pDev; 277 RTListForEach(&pDevEnm->LstDevices, pDev, PDMAUDIOHOSTDEV, Node)277 RTListForEach(&pDevEnm->LstDevices, pDev, PDMAUDIOHOSTDEV, ListEntry) 278 278 { 279 279 if (enmUsage == pDev->enmUsage) … … 335 335 DECLINLINE(void) PDMAudioHostEnumLog(PCPDMAUDIOHOSTENUM pDevEnm, const char *pszDesc) 336 336 { 337 #ifdef LOG_ENABLED 337 338 AssertPtrReturnVoid(pDevEnm); 338 339 AssertPtrReturnVoid(pszDesc); … … 344 345 345 346 PPDMAUDIOHOSTDEV pDev; 346 RTListForEach(&pDevEnm->LstDevices, pDev, PDMAUDIOHOSTDEV, Node)347 RTListForEach(&pDevEnm->LstDevices, pDev, PDMAUDIOHOSTDEV, ListEntry) 347 348 { 348 349 char szFlags[PDMAUDIOHOSTDEV_MAX_FLAGS_STRING_LEN]; … … 355 356 } 356 357 } 358 #else 359 RT_NOREF(pDevEnm, pszDesc); 360 #endif 357 361 } 358 362 -
trunk/include/VBox/vmm/pdmaudioifs.h
r88045 r88055 360 360 { 361 361 /** List entry (like PDMAUDIOHOSTENUM::LstDevices). */ 362 RTLISTNODE Node;362 RTLISTNODE ListEntry; 363 363 /** Magic value (PDMAUDIOHOSTDEV_MAGIC). */ 364 364 uint32_t uMagic;
Note:
See TracChangeset
for help on using the changeset viewer.