VirtualBox

Changeset 33447 in vbox for trunk


Ignore:
Timestamp:
Oct 26, 2010 8:07:43 AM (14 years ago)
Author:
vboxsync
Message:

Main/UIWizard: Sound Controller attachement recommendations was added.

Location:
trunk/src/VBox
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp

    r32646 r33447  
    665665                                (ULONG) (VBoxGlobal::requiredVideoMemory(&m_Machine) / _1M)));
    666666
     667    /* Selecting recommended Audio Controller */
     668    m_Machine.GetAudioAdapter().SetAudioController(type.GetRecommendedAudioController());
    667669    /* Enabling audio by default */
    668670    m_Machine.GetAudioAdapter().SetEnabled(true);
  • trunk/src/VBox/Main/Global.cpp

    r32880 r33447  
    3535      VBOXOSTYPE_Unknown,         VBOXOSHINT_NONE,
    3636        64,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    37       StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3 },
     37      StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 },
    3838    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows31,       "Windows 3.1",
    3939      VBOXOSTYPE_Win31,           VBOXOSHINT_NONE,
    4040        32,   4,  1 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    41         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     41        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_SB16  },
    4242    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows95,       "Windows 95",
    4343      VBOXOSTYPE_Win95,           VBOXOSHINT_NONE,
    4444        64,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    45         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     45        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    4646    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows98,       "Windows 98",
    4747      VBOXOSTYPE_Win98,           VBOXOSHINT_NONE,
    4848        64,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    49         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     49        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    5050    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsMe,       "Windows Me",
    5151      VBOXOSTYPE_WinMe,           VBOXOSHINT_NONE,
    5252        64,   4,  4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    53         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     53        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    5454    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsNT4,      "Windows NT 4",
    5555      VBOXOSTYPE_WinNT4,          VBOXOSHINT_NONE,
    5656       128,  16,  2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    57         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     57        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    5858    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2000,     "Windows 2000",
    5959      VBOXOSTYPE_Win2k,           VBOXOSHINT_NONE,
    6060       168,  16,  4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    61         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     61        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    6262    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsXP,       "Windows XP",
    6363      VBOXOSTYPE_WinXP,           VBOXOSHINT_NONE,
    6464       192,  16, 10 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    65         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     65        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    6666    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsXP_64,    "Windows XP (64 bit)",
    6767      VBOXOSTYPE_WinXP_x64,       VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    6868       192,  16, 10 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    69         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     69        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    7070    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2003,     "Windows 2003",
    7171      VBOXOSTYPE_Win2k3,          VBOXOSHINT_NONE,
    7272       256,  16, 20 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    73         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     73        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    7474    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2003_64,  "Windows 2003 (64 bit)",
    7575      VBOXOSTYPE_Win2k3_x64,      VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    7676       256,  16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    77         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     77        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    7878    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsVista,    "Windows Vista",
    7979      VBOXOSTYPE_WinVista,        VBOXOSHINT_NONE,
    8080       512,  16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    81         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     81        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    8282    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsVista_64, "Windows Vista (64 bit)",
    8383      VBOXOSTYPE_WinVista_x64,    VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    8484       512,  16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    85         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     85        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA  },
    8686    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2008,     "Windows 2008",
    8787      VBOXOSTYPE_Win2k8,          VBOXOSHINT_NONE,
    8888       512,  16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    89         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     89        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    9090    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows2008_64,  "Windows 2008 (64 bit)",
    9191      VBOXOSTYPE_Win2k8_x64,      VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    9292       512,  16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    93         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     93        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    9494    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows7,        "Windows 7",
    9595      VBOXOSTYPE_Win7,            VBOXOSHINT_NONE,
    9696       512,  16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    97         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     97        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    9898    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows7_64,     "Windows 7 (64 bit)",
    9999      VBOXOSTYPE_Win7_x64,        VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    100100       512,  16, 20 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    101         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     101        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_HDA  },
    102102    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_WindowsNT,       "Other Windows",
    103103      VBOXOSTYPE_WinNT,           VBOXOSHINT_NONE,
    104104       512,  16, 20 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    105         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     105        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    106106    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Linux22,         "Linux 2.2",
    107107      VBOXOSTYPE_Linux22,         VBOXOSHINT_RTCUTC,
    108108        64,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    109         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     109        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    110110    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Linux24,         "Linux 2.4",
    111111      VBOXOSTYPE_Linux24,         VBOXOSHINT_RTCUTC,
    112112       128,   4,  4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    113         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     113        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    114114    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Linux24_64,      "Linux 2.4 (64 bit)",
    115115      VBOXOSTYPE_Linux24_x64,     VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC,
    116116       128,   4,  4 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    117         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     117        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    118118    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Linux26,         "Linux 2.6",
    119119      VBOXOSTYPE_Linux26,         VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    120120       256,   4,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    121         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     121        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    122122    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Linux26_64,      "Linux 2.6 (64 bit)",
    123123      VBOXOSTYPE_Linux26_x64,     VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    124124       256,   4,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    125         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     125        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    126126    { "Linux",   "Linux",             SchemaDefs_OSTypeId_ArchLinux,       "Arch Linux",
    127127      VBOXOSTYPE_ArchLinux,       VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    128128       256,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    129         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     129        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    130130    { "Linux",   "Linux",             SchemaDefs_OSTypeId_ArchLinux_64,    "Arch Linux (64 bit)",
    131131      VBOXOSTYPE_ArchLinux_x64,   VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    132132       256,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    133         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     133        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    134134    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Debian,          "Debian",
    135135      VBOXOSTYPE_Debian,          VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    136136       384,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    137         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     137        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    138138    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Debian_64,       "Debian (64 bit)",
    139139      VBOXOSTYPE_Debian_x64,      VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    140140       384,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    141         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3},
     141        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97},
    142142    { "Linux",   "Linux",             SchemaDefs_OSTypeId_OpenSUSE,        "openSUSE",
    143143      VBOXOSTYPE_OpenSUSE,        VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    144144       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    145         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     145        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    146146    { "Linux",   "Linux",             SchemaDefs_OSTypeId_OpenSUSE_64,     "openSUSE (64 bit)",
    147147      VBOXOSTYPE_OpenSUSE_x64,    VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    148148       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    149         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     149        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    150150    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Fedora,          "Fedora",
    151151      VBOXOSTYPE_FedoraCore,      VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    152152       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    153         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     153        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    154154    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Fedora_64,       "Fedora (64 bit)",
    155155      VBOXOSTYPE_FedoraCore_x64,  VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    156156       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    157         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     157        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    158158    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Gentoo,          "Gentoo",
    159159      VBOXOSTYPE_Gentoo,          VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    160160       256,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    161         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     161        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    162162    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Gentoo_64,       "Gentoo (64 bit)",
    163163      VBOXOSTYPE_Gentoo_x64,      VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    164164       256,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    165         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     165        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    166166    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Mandriva,        "Mandriva",
    167167      VBOXOSTYPE_Mandriva,        VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    168168       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    169         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     169        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    170170    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Mandriva_64,     "Mandriva (64 bit)",
    171171      VBOXOSTYPE_Mandriva_x64,    VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    172172       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    173         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     173        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    174174    { "Linux",   "Linux",             SchemaDefs_OSTypeId_RedHat,          "Red Hat",
    175175      VBOXOSTYPE_RedHat,          VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE,
    176176       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    177         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     177        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    178178    { "Linux",   "Linux",             SchemaDefs_OSTypeId_RedHat_64,       "Red Hat (64 bit)",
    179179      VBOXOSTYPE_RedHat_x64,      VBOXOSHINT_64BIT | VBOXOSHINT_PAE | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC,
    180180       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    181         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     181        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    182182    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Turbolinux,      "Turbolinux",
    183183      VBOXOSTYPE_Turbolinux,      VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    184184       384,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    185         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     185        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    186186    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Turbolinux,      "Turbolinux (64 bit)",
    187187      VBOXOSTYPE_Turbolinux_x64,  VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    188188       384,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    189         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     189        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    190190    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Ubuntu,          "Ubuntu",
    191191      VBOXOSTYPE_Ubuntu,          VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    192192       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    193         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     193        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    194194    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Ubuntu_64,       "Ubuntu (64 bit)",
    195195      VBOXOSTYPE_Ubuntu_x64,      VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    196196       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    197         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     197        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    198198    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Xandros,         "Xandros",
    199199      VBOXOSTYPE_Xandros,         VBOXOSHINT_RTCUTC,
    200200       256,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    201         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     201        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    202202    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Xandros_64,      "Xandros (64 bit)",
    203203      VBOXOSTYPE_Xandros_x64,     VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC,
    204204       256,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    205         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     205        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    206206    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Oracle,          "Oracle",
    207207      VBOXOSTYPE_Oracle,          VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE,
    208208       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    209         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     209        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    210210    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Oracle_64,       "Oracle (64 bit)",
    211211      VBOXOSTYPE_Oracle_x64,      VBOXOSHINT_64BIT | VBOXOSHINT_PAE | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC,
    212212       512,  12,  8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    213         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     213        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    214214    { "Linux",   "Linux",             SchemaDefs_OSTypeId_Linux,           "Other Linux",
    215215      VBOXOSTYPE_Linux,           VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET,
    216216       256,  12,  8 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    217         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     217        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    218218    { "Solaris", "Solaris",           SchemaDefs_OSTypeId_Solaris,         "Solaris",
    219219      VBOXOSTYPE_Solaris,         VBOXOSHINT_NONE,
    220220       768,  12, 16 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    221         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     221        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    222222    { "Solaris", "Solaris",           SchemaDefs_OSTypeId_Solaris_64,      "Solaris (64 bit)",
    223223      VBOXOSTYPE_Solaris_x64,     VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    224224       768,  12, 16 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    225         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     225        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    226226    { "Solaris", "Solaris",           SchemaDefs_OSTypeId_OpenSolaris,     "OpenSolaris",
    227227      VBOXOSTYPE_OpenSolaris,     VBOXOSHINT_NONE,
    228228       768,  12, 16 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    229         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     229        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    230230    { "Solaris", "Solaris",           SchemaDefs_OSTypeId_OpenSolaris_64,  "OpenSolaris (64 bit)",
    231231      VBOXOSTYPE_OpenSolaris_x64, VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    232232       768,  12, 16 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    233         StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3  },
     233        StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97  },
    234234    { "BSD",     "BSD",               SchemaDefs_OSTypeId_FreeBSD,         "FreeBSD",
    235235      VBOXOSTYPE_FreeBSD,         VBOXOSHINT_NONE,
    236236       128,   4,  2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    237         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     237        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    238238    { "BSD",     "BSD",               SchemaDefs_OSTypeId_FreeBSD_64,      "FreeBSD (64 bit)",
    239239      VBOXOSTYPE_FreeBSD_x64,     VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    240240       128,   4,  2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    241         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     241        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    242242    { "BSD",     "BSD",               SchemaDefs_OSTypeId_OpenBSD,         "OpenBSD",
    243243      VBOXOSTYPE_OpenBSD,         VBOXOSHINT_HWVIRTEX,
    244244        64,   4,  2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    245         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     245        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    246246    { "BSD",     "BSD",               SchemaDefs_OSTypeId_OpenBSD_64,      "OpenBSD (64 bit)",
    247247      VBOXOSTYPE_OpenBSD_x64,     VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    248248        64,   4,  2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    249         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     249        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    250250    { "BSD",     "BSD",               SchemaDefs_OSTypeId_NetBSD,          "NetBSD",
    251251      VBOXOSTYPE_NetBSD,          VBOXOSHINT_NONE,
    252252        64,   4,  2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    253         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     253        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    254254    { "BSD",     "BSD",               SchemaDefs_OSTypeId_NetBSD_64,       "NetBSD (64 bit)",
    255255      VBOXOSTYPE_NetBSD_x64,      VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC,
    256256        64,   4,  2 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    257         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     257        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    258258    { "OS2",     "IBM OS/2",          SchemaDefs_OSTypeId_OS2Warp3,        "OS/2 Warp 3",
    259259      VBOXOSTYPE_OS2Warp3,        VBOXOSHINT_HWVIRTEX,
    260260        48,   4,  1 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
    261         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     261        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    262262    { "OS2",     "IBM OS/2",          SchemaDefs_OSTypeId_OS2Warp4,        "OS/2 Warp 4",
    263263      VBOXOSTYPE_OS2Warp4,        VBOXOSHINT_HWVIRTEX,
    264264        64,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
    265         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     265        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    266266    { "OS2",     "IBM OS/2",          SchemaDefs_OSTypeId_OS2Warp45,       "OS/2 Warp 4.5",
    267267      VBOXOSTYPE_OS2Warp45,       VBOXOSHINT_HWVIRTEX,
    268268        96,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
    269         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     269        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    270270    { "OS2",     "IBM OS/2",          SchemaDefs_OSTypeId_OS2eCS,          "eComStation",
    271271      VBOXOSTYPE_ECS,             VBOXOSHINT_HWVIRTEX,
    272272        96,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
    273         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     273        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    274274    { "OS2",     "IBM OS/2",          SchemaDefs_OSTypeId_OS2,             "Other OS/2",
    275275      VBOXOSTYPE_OS2,             VBOXOSHINT_HWVIRTEX,
    276276        96,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
    277         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     277        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    278278    { "MacOS",   "Mac OS X",          SchemaDefs_OSTypeId_MacOS,           "Mac OS X Server",
    279279      VBOXOSTYPE_MacOS,           VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_USBTABLET,
    280280      1024,   4, 20 * _1G64, NetworkAdapterType_I82543GC, 0, StorageControllerType_ICH6, StorageBus_IDE,
    281         StorageControllerType_ICH6, StorageBus_IDE, ChipsetType_PIIX3  },
     281        StorageControllerType_ICH6, StorageBus_IDE, ChipsetType_ICH9, AudioControllerType_HDA  },
    282282    { "MacOS",   "Mac OS X",          SchemaDefs_OSTypeId_MacOS_64,        "Mac OS X Server (64 bit)",
    283283      VBOXOSTYPE_MacOS_x64,       VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC | VBOXOSHINT_EFI | VBOXOSHINT_PAE |  VBOXOSHINT_64BIT | VBOXOSHINT_USBHID | VBOXOSHINT_HPET | VBOXOSHINT_USBTABLET,
    284284      1024,   4, 20 * _1G64, NetworkAdapterType_I82543GC, 0, StorageControllerType_ICH6, StorageBus_IDE,
    285         StorageControllerType_ICH6, StorageBus_IDE, ChipsetType_PIIX3  },
     285        StorageControllerType_ICH6, StorageBus_IDE, ChipsetType_ICH9, AudioControllerType_HDA  },
    286286    { "Other",   "Other",             SchemaDefs_OSTypeId_DOS,             "DOS",
    287287      VBOXOSTYPE_DOS,             VBOXOSHINT_NONE,
    288288        32,   4,  512 * _1M, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    289         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     289        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_SB16  },
    290290    { "Other",   "Other",             SchemaDefs_OSTypeId_Netware,         "Netware",
    291291      VBOXOSTYPE_Netware,         VBOXOSHINT_HWVIRTEX,
    292292       512,   4,  4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    293         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     293        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    294294    { "Other",   "Other",             SchemaDefs_OSTypeId_L4,              "L4",
    295295      VBOXOSTYPE_L4,              VBOXOSHINT_NONE,
    296296        64,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    297         StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     297        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    298298    { "Other",   "Other",             SchemaDefs_OSTypeId_QNX,             "QNX",
    299299      VBOXOSTYPE_QNX,             VBOXOSHINT_HWVIRTEX,
    300300       512,   4,  4 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    301       StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3  },
     301      StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    302302};
    303303
  • trunk/src/VBox/Main/GuestOSTypeImpl.cpp

    r32894 r33447  
    3636    , mHdStorageBusType(StorageBus_IDE)
    3737    , mChipsetType(ChipsetType_PIIX3)
     38    , mAudioControllerType(AudioControllerType_AC97)
    3839{
    3940}
     
    8081                          StorageControllerType_T aHdStorageControllerType,
    8182                          StorageBus_T aHdStorageBusType,
    82                           ChipsetType_T aChipsetType*/
     83                          ChipsetType_T aChipsetType
     84                          AudioControllerType_T aAudioControllerType*/
    8385{
    8486#if 0
     
    120122    unconst(mHdStorageBusType)          = ostype.hdStorageBusType;
    121123    unconst(mChipsetType)               = ostype.chipsetType;
     124    unconst(mAudioControllerType)       = ostype.audioControllerType;
    122125
    123126    /* Confirm a successful initialization when it's the case */
     
    431434}
    432435
     436STDMETHODIMP GuestOSType::COMGETTER(RecommendedAudioController) (AudioControllerType_T *aAudioController)
     437{
     438    CheckComArgOutPointerValid(aAudioController);
     439
     440    AutoCaller autoCaller(this);
     441    if (FAILED(autoCaller.rc())) return autoCaller.rc();
     442
     443    *aAudioController = mAudioControllerType;
     444
     445    return S_OK;
     446}
     447
    433448/* vi: set tabstop=4 shiftwidth=4 expandtab: */
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r33417 r33447  
    75677567     <attribute name="recommendedChipset" type="ChipsetType" readonly="yes">
    75687568      <desc>Recommended chipset type.</desc>
    7569     </attribute>
     7569     </attribute>
     7570
     7571     <attribute name="recommendedAudioController" type="AudioControllerType" readonly="yes">
     7572      <desc>Recommended audio type.</desc>
     7573     </attribute>
    75707574
    75717575  </interface>
  • trunk/src/VBox/Main/include/Global.h

    r32531 r33447  
    6969        const StorageBus_T             hdStorageBusType;
    7070        const ChipsetType_T            chipsetType;
     71        const AudioControllerType_T    audioControllerType;
    7172    };
    7273
  • trunk/src/VBox/Main/include/GuestOSTypeImpl.h

    r32894 r33447  
    7373    STDMETHOD(COMGETTER(RecommendedRtcUseUtc))(BOOL *aRecommendedRtcUseUtc);
    7474    STDMETHOD(COMGETTER(RecommendedChipset)) (ChipsetType_T *aChipsetType);
     75    STDMETHOD(COMGETTER(RecommendedAudioController)) (AudioControllerType_T *aAudioController);
    7576
    7677    // public methods only for internal purposes
     
    102103    const StorageBus_T mHdStorageBusType;
    103104    const ChipsetType_T mChipsetType;
     105    const AudioControllerType_T mAudioControllerType;
    104106};
    105107
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