VirtualBox

Changeset 24863 in vbox for trunk/src


Ignore:
Timestamp:
Nov 23, 2009 12:12:21 PM (15 years ago)
Author:
vboxsync
Message:

VBoxManageModifyVM: Merged the oss code.

File:
1 edited

Legend:

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

    r24858 r24863  
    14111411#endif /* RT_OS_WINDOWS */
    14121412#ifdef RT_OS_LINUX
    1413                 else if (!strcmp(ValueUnion.psz, "oss"))
    1414                 {
    1415                     CHECK_ERROR(audioAdapter, COMSETTER(AudioDriver)(AudioDriverType_OSS));
    1416                     CHECK_ERROR(audioAdapter, COMSETTER(Enabled)(true));
    1417                 }
    14181413# ifdef VBOX_WITH_ALSA
    14191414                else if (!strcmp(ValueUnion.psz, "alsa"))
     
    14371432                    CHECK_ERROR(audioAdapter, COMSETTER(Enabled)(true));
    14381433                }
    1439 
    1440 # ifdef VBOX_WITH_SOLARIS_OSS
    1441                 else if (!strcmp(ValueUnion.psz, "oss"))
    1442                 {
    1443                     CHECK_ERROR(audioAdapter, COMSETTER(AudioDriver)(AudioDriverType_OSS));
    1444                     CHECK_ERROR(audioAdapter, COMSETTER(Enabled)(true));
    1445                 }
    1446 # endif
    1447 
    14481434#endif /* !RT_OS_SOLARIS */
    14491435#ifdef RT_OS_DARWIN
     
    14551441
    14561442#endif /* !RT_OS_DARWIN */
    1457 # ifdef RT_OS_FREEBSD
     1443# if defined(RT_OS_FREEBSD) || defined(RT_OS_LINUX) || defined(VBOX_WITH_SOLARIS_OSS)
    14581444                else if (!strcmp(ValueUnion.psz, "oss"))
    14591445                {
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