- Timestamp:
- Feb 10, 2009 10:55:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r16601 r16620 1714 1714 CheckComRCThrowRC(rc); 1715 1715 rc = audioAdapter->COMSETTER(Enabled)(true); 1716 CheckComRCThrowRC(rc);1717 /* @todo: For now this is preselected, but on Linux for example1718 more drivers are possible. The user should be able to change1719 this also. */1720 AudioDriverType_T adt = AudioDriverType_Null;1721 #if defined(RT_OS_WINDOWS)1722 # ifdef VBOX_WITH_WINMM1723 adt = AudioDriverType_WinMM;1724 # else1725 adt = AudioDriverType_DirectSound;1726 # endif1727 #elif defined(RT_OS_LINUX)1728 # ifdef VBOX_WITH_ALSA1729 adt = AudioDriverType_ALSA;1730 # elif defined(VBOX_WITH_PULSE)1731 adt = AudioDriverType_Pulse;1732 # else1733 adt = AudioDriverType_OSS;1734 # endif1735 #elif defined(RT_OS_DARWIN)1736 adt = AudioDriverType_CoreAudio;1737 #elif defined(RT_OS_SOLARIS)1738 adt = AudioDriverType_SolAudio;1739 #elif defined(RT_OS_OS2)1740 adt = AudioDriverType_MMPM;1741 #endif1742 rc = audioAdapter->COMSETTER(AudioDriver)(adt);1743 1716 CheckComRCThrowRC(rc); 1744 1717 rc = audioAdapter->COMSETTER(AudioController)(static_cast<AudioControllerType_T>(audio));
Note:
See TracChangeset
for help on using the changeset viewer.