VirtualBox

Changeset 88958 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
May 10, 2021 6:57:45 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144294
Message:

Audio/VaKit: Use the full (but mocked) version of PDMDRVREG. bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp

    r88929 r88958  
    493493                if (   !RTStrICmp(ValueUnion.psz, "pulseaudio")
    494494                    || !RTStrICmp(ValueUnion.psz, "pa"))
    495                     pDrvReg = &g_DrvVKATPulseAudio;
     495                    pDrvReg = &g_DrvHostPulseAudio;
    496496#endif
    497497#ifdef VBOX_WITH_AUDIO_ALSA
    498498                if (   !RTStrICmp(ValueUnion.psz, "alsa"))
    499                     pDrvReg = &g_DrvVKATAlsa;
     499                    pDrvReg = &g_DrvHostALSAAudio;
    500500#endif
    501501#ifdef VBOX_WITH_AUDIO_OSS
    502502                if (   !RTStrICmp(ValueUnion.psz, "oss"))
    503                     pDrvReg = &g_DrvVKATOss;
     503                    pDrvReg = &g_DrvHostOSSAudio;
    504504#endif
    505505                /** @todo Add more backends here. */
     
    587587    /* If no backend is specified, go with the ALSA one by default. */
    588588    if (pDrvReg == NULL)
    589         pDrvReg = &g_DrvVKATAlsa;
     589        pDrvReg = &g_DrvHostALSAAudio;
    590590
    591591    PPDMIHOSTAUDIO pDrvAudio;
Note: See TracChangeset for help on using the changeset viewer.

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