Changeset 1551 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 17, 2007 1:09:30 AM (18 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/AudioAdapterImpl.cpp
r1071 r1551 218 218 { 219 219 case AudioDriverType_NullAudioDriver: 220 #ifdef __WIN__ 221 #ifdef VBOX_WITH_WINMM 222 case AudioDriverType_WINMMAudioDriver: 223 #endif 224 case AudioDriverType_DSOUNDAudioDriver: 225 #endif /* __WIN__ */ 226 #ifdef __LINUX__ 227 case AudioDriverType_OSSAudioDriver: 228 #ifdef VBOX_WITH_ALSA 229 case AudioDriverType_ALSAAudioDriver: 230 #endif 231 #endif /* __LINUX__ */ 232 #ifdef __DARWIN__ 233 case AudioDriverType_CoreAudioDriver: 234 #endif 220 235 { 221 236 mData.backup(); … … 224 239 } 225 240 226 #ifdef __WIN__227 #ifdef VBOX_WITH_WINMM228 case AudioDriverType_WINMMAudioDriver:229 {230 mData.backup();231 mData->mAudioDriver = audioDriver;232 break;233 }234 #endif235 case AudioDriverType_DSOUNDAudioDriver:236 {237 mData.backup();238 mData->mAudioDriver = audioDriver;239 break;240 }241 #endif /* __WIN__ */242 243 #ifdef __LINUX__244 case AudioDriverType_OSSAudioDriver:245 {246 mData.backup();247 mData->mAudioDriver = audioDriver;248 break;249 }250 #ifdef VBOX_WITH_ALSA251 case AudioDriverType_ALSAAudioDriver:252 {253 mData.backup();254 mData->mAudioDriver = audioDriver;255 break;256 }257 #endif258 #endif /* __LINUX__ */259 241 default: 260 242 { -
trunk/src/VBox/Main/ConsoleImpl.cpp
r1397 r1551 5321 5321 break; 5322 5322 } 5323 # ifdef VBOX_WITH_ALSA5323 # ifdef VBOX_WITH_ALSA 5324 5324 case AudioDriverType_ALSAAudioDriver: 5325 5325 { … … 5327 5327 break; 5328 5328 } 5329 # endif5329 # endif 5330 5330 #endif /* __LINUX__ */ 5331 #ifdef __DARWIN__ 5332 case AudioDriverType_CoreAudioDriver: 5333 { 5334 rc = CFGMR3InsertString(pCfg, "AudioDriver", "coreaudio"); RC_CHECK(); 5335 break; 5336 } 5337 #endif 5331 5338 } 5332 5339 } -
trunk/src/VBox/Main/MachineImpl.cpp
r1490 r1551 3949 3949 #endif 3950 3950 #endif // __LINUX__ 3951 #ifdef __DARWIN__ 3952 else if (driver == L"coreaudio") 3953 audioDriver = AudioDriverType_CoreAudioDriver; 3954 #endif 3951 3955 else 3952 3956 AssertMsgFailed (("Invalid driver: %ls\n", driver.raw())); … … 5727 5731 } 5728 5732 #endif /* __WIN__ */ 5733 #ifdef __LINUX__ 5729 5734 case AudioDriverType_ALSAAudioDriver: 5730 5735 #ifdef VBOX_WITH_ALSA … … 5734 5739 } 5735 5740 #endif 5736 #ifdef __LINUX__5737 5741 case AudioDriverType_OSSAudioDriver: 5738 5742 { … … 5741 5745 } 5742 5746 #endif /* __LINUX__ */ 5747 #ifdef __DARWIN__ 5748 case AudioDriverType_CoreAudioDriver: 5749 { 5750 CFGLDRSetString (adapterNode, "driver", "coreaudio"); 5751 break; 5752 } 5753 #endif 5743 5754 default: 5744 5755 ComAssertMsgFailedBreak (("Wrong audio driver type! driver = %d\n", -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r1471 r1551 6909 6909 <const name="ALSAAudioDriver" value="3"/> 6910 6910 <const name="DSOUNDAudioDriver" value="4"/> 6911 <const name="CoreAudioDriver" value="5"/> 6911 6912 </enum> 6912 6913 -
trunk/src/VBox/Main/xml/VirtualBox-settings-macosx.xsd
r632 r1551 96 96 <xsd:restriction base="xsd:token"> 97 97 <xsd:enumeration value="null"/> 98 <xsd:enumeration value="coreaudio"/> 98 99 </xsd:restriction> 99 100 </xsd:simpleType>
Note:
See TracChangeset
for help on using the changeset viewer.