VirtualBox

Changeset 107930 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jan 24, 2025 9:43:35 AM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167165
Message:

Audio/Windows: Purged the WinMM backend wherever possible; default to WAS backend if applicable. Also fixed the XML samples which had WinMM set for many many years. bugref:10845

Location:
trunk/src/VBox/Frontends
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r107799 r107930  
    22792279                        break;
    22802280                    case AudioDriverType_WinMM:
     2281                        /* Deprecated; not (ever) supported; leave this in for backwards compatibility. See @bugref{10845} */
    22812282                        if (details == VMINFO_MACHINEREADABLE)
    22822283                            pszDrv = "winmm";
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp

    r107883 r107930  
    10671067        case AudioDriverType_ALSA:          psz = "ALSA";                  break;
    10681068        case AudioDriverType_Pulse:         psz = "PulseAudio";            break;
     1069        /* Deprecated; not (ever) supported; leave this in for backwards compatibility. See @bugref{10845} */
    10691070        case AudioDriverType_WinMM:         psz = "WinMM";                 break;
    10701071        case AudioDriverType_DirectSound:   psz = "DirectSound";           break;
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r107831 r107930  
    27672767                    CHECK_ERROR(audioAdapter, COMSETTER(AudioDriver)(AudioDriverType_Default));
    27682768#ifdef RT_OS_WINDOWS
    2769 # ifdef VBOX_WITH_WINMM
    2770                 else if (!RTStrICmp(ValueUnion.psz, "winmm"))
    2771                     CHECK_ERROR(audioAdapter, COMSETTER(AudioDriver)(AudioDriverType_WinMM));
    2772 # endif
    27732769                else if (!RTStrICmp(ValueUnion.psz, "dsound"))
    27742770                    CHECK_ERROR(audioAdapter, COMSETTER(AudioDriver)(AudioDriverType_DirectSound));
  • trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendCOM.cpp

    r107267 r107930  
    550550        case KAudioDriverType_ALSA:        return QApplication::translate("UICommon", "ALSA Audio", "AudioDriverType");
    551551        case KAudioDriverType_Pulse:       return QApplication::translate("UICommon", "PulseAudio", "AudioDriverType");
     552        /* Deprecated; not (ever) supported; leave this in for backwards compatibility. See @bugref{10845} */
    552553        case KAudioDriverType_WinMM:       return QApplication::translate("UICommon", "Windows Multimedia", "AudioDriverType");
    553554        case KAudioDriverType_DirectSound: return QApplication::translate("UICommon", "Windows DirectSound", "AudioDriverType");
     
    570571    list.insert(QApplication::translate("UICommon", "ALSA Audio", "AudioDriverType"),            KAudioDriverType_ALSA);
    571572    list.insert(QApplication::translate("UICommon", "PulseAudio", "AudioDriverType"),            KAudioDriverType_Pulse);
     573    /* Deprecated; not (ever) supported; leave this in for backwards compatibility. See @bugref{10845} */
    572574    list.insert(QApplication::translate("UICommon", "Windows Multimedia", "AudioDriverType"),    KAudioDriverType_WinMM);
    573575    list.insert(QApplication::translate("UICommon", "Windows DirectSound", "AudioDriverType"),   KAudioDriverType_DirectSound);
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