VirtualBox

Changeset 89212 in vbox for trunk


Ignore:
Timestamp:
May 21, 2021 8:22:44 AM (4 years ago)
Author:
vboxsync
Message:

DrvHostAudioCoreAudio: Build fix for valkit and its ancient compilers. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioCoreAudio.cpp

    r89209 r89212  
    26792679     * Create worker thread for running callbacks on.
    26802680     */
    2681     CFMachPortContext PortCtx = { .version = 0, .info = pThis, .retain = NULL, .release = NULL, .copyDescription = NULL };
     2681    CFMachPortContext PortCtx;
     2682    PortCtx.version         = 0;
     2683    PortCtx.info            = pThis;
     2684    PortCtx.retain          = NULL;
     2685    PortCtx.release         = NULL;
     2686    PortCtx.copyDescription = NULL;
    26822687    pThis->hThreadPort = CFMachPortCreate(NULL /*allocator*/, drvHostAudioCaThreadPortCallback, &PortCtx, NULL);
    26832688    AssertLogRelReturn(pThis->hThreadPort != NULL, VERR_NO_MEMORY);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette