VirtualBox

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


Ignore:
Timestamp:
Jun 12, 2009 11:31:37 AM (16 years ago)
Author:
vboxsync
Message:

Solaris/Audio: Boomer(OSS) support (disabled, requires snv_115+).

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp

    r19817 r20501  
    19501950#elif defined(RT_OS_LINUX)
    19511951        rc = CFGMR3InsertString(pCfg, "AudioDriver",      "oss");                   UPDATE_RC();
     1952#elif defined(RT_OS_SOLARIS)
     1953# ifdef VBOX_WITH_SOLARIS_OSS
     1954        rc = CFGMR3InsertString(pCfg, "AudioDriver",      "oss");                   UPDATE_RC();
     1955# else
     1956        rc = CFGMR3InsertString(pCfg, "AudioDriver",      "solaudio");              UPDATE_RC();
     1957# endif
    19521958#elif defined(RT_OS_L4)
    19531959        rc = CFGMR3InsertString(pCfg, "AudioDriver",      "oss");                   UPDATE_RC();
  • trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk

    r20318 r20501  
    3939        $(if $(VBOX_WITH_HEADLESS), VBOX_WITH_HEADLESS) \
    4040        $(if $(VBOX_WITH_ALSA), VBOX_WITH_ALSA) \
     41        $(if $(VBOX_WITH_SOLARIS_OSS), VBOX_WITH_SOLARIS_OSS) \
    4142        $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE) \
    4243        $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r20313 r20501  
    199199        if (fSolaris)
    200200        {
    201             RTPrintf(                        "|solaudio");
     201            RTPrintf(                        "|solaudio"
     202#ifdef VBOX_WITH_SOLARIS_OSS
     203                                             "|oss"
     204#endif
     205                                              );
    202206        }
    203207        if (fLinux)
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r20474 r20501  
    14421442                }
    14431443
     1444# ifdef VBOX_WITH_SOLARIS_OSS
     1445                else if (!strcmp(audio, "oss"))
     1446                {
     1447                    CHECK_ERROR(audioAdapter, COMSETTER(AudioDriver)(AudioDriverType_OSS));
     1448                    CHECK_ERROR(audioAdapter, COMSETTER(Enabled)(true));
     1449                }
     1450# endif
     1451
    14441452#endif /* !RT_OS_SOLARIS */
    14451453#ifdef RT_OS_DARWIN
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r20243 r20501  
    177177        $(if $(VBOX_WITH_ALSA),VBOX_WITH_ALSA) \
    178178        $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE) \
     179        $(if $(VBOX_WITH_SOLARIS_OSS),VBOX_WITH_SOLARIS_OSS) \
    179180        $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
    180181        $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT)
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMSettingsAudio.cpp

    r19060 r20501  
    8484#if defined Q_OS_SOLARIS
    8585    mCbAudioDriver->addItem (vboxGlobal().toString (KAudioDriverType_SolAudio));
     86# if defined VBOX_WITH_SOLARIS_OSS
     87    mCbAudioDriver->addItem (vboxGlobal().toString (KAudioDriverType_OSS));
     88#endif
    8689#endif
    8790#if defined Q_OS_LINUX || defined Q_OS_FREEBSD
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