VirtualBox

Ignore:
Timestamp:
Sep 2, 2021 9:32:17 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Make PulseAudio the default backend in VKAT. See comment for details. ​bugref:10008

File:
1 edited

Legend:

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

    r91085 r91087  
    8383} const g_aBackends[] =
    8484{
    85 #if defined(VBOX_WITH_AUDIO_ALSA) && defined(RT_OS_LINUX)
    86     {   &g_DrvHostALSAAudio,          "alsa" },
    87 #endif
    8885#ifdef VBOX_WITH_AUDIO_PULSE
    8986    {   &g_DrvHostPulseAudio,         "pulseaudio" },
    9087    {   &g_DrvHostPulseAudio,         "pulse" },
    9188    {   &g_DrvHostPulseAudio,         "pa" },
     89#endif
     90/*
     91 * Note: ALSA has to come second so that PulseAudio above always is the default on Linux-y OSes
     92 *       -- most distros are using an ALSA plugin for PulseAudio nowadays.
     93 *       However, some of these configurations do not seem to work by default (can't create audio streams).
     94 *
     95 *       If PulseAudio is not available, the (optional) probing ("--probe") will choose the "pure" ALSA stack instead then.
     96 */
     97#if defined(VBOX_WITH_AUDIO_ALSA) && defined(RT_OS_LINUX)
     98    {   &g_DrvHostALSAAudio,          "alsa" },
    9299#endif
    93100#ifdef VBOX_WITH_AUDIO_OSS
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