VirtualBox

Changeset 88692 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 23, 2021 7:59:42 PM (4 years ago)
Author:
vboxsync
Message:

DevIchAc97: Create AIO thread with RTTHREADFLAGS_COM_MTA so it'll work correctly with the WASAPI and DSound backends. bugref:9890

File:
1 edited

Legend:

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

    r88677 r88692  
    14461446                    pCtx->pThisCC   = pThisCC;
    14471447
    1448                     rc = RTThreadCreateF(&pAIO->Thread, ichac97R3StreamAsyncIOThread, pCtx,
    1449                                          0, RTTHREADTYPE_IO, RTTHREADFLAGS_WAITABLE, "ac97AIO%RU8", pStreamCC->u8SD);
     1448                    rc = RTThreadCreateF(&pAIO->Thread, ichac97R3StreamAsyncIOThread, pCtx, 0 /*cbStack*/, RTTHREADTYPE_IO,
     1449                                         RTTHREADFLAGS_WAITABLE | RTTHREADFLAGS_COM_MTA, "ac97AIO%RU8", pStreamCC->u8SD);
    14501450                    if (RT_SUCCESS(rc))
    14511451                        rc = RTThreadUserWait(pAIO->Thread, 30 * 1000 /* 30s timeout */);
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