Changeset 1071 in vbox for trunk/src/VBox/Main/MachineImpl.cpp
- Timestamp:
- Feb 27, 2007 11:00:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r1015 r1071 3827 3827 #ifdef __WIN__ 3828 3828 else if (driver == L"winmm") 3829 #ifdef VBOX_WITH_WINMM 3829 3830 audioDriver = AudioDriverType_WINMMAudioDriver; 3831 #else 3832 // fall back to dsound 3833 audioDriver = AudioDriverType_DSOUNDAudioDriver; 3834 #endif 3830 3835 else if (driver == L"dsound") 3831 3836 audioDriver = AudioDriverType_DSOUNDAudioDriver; … … 5582 5587 #ifdef __WIN__ 5583 5588 case AudioDriverType_WINMMAudioDriver: 5589 #ifdef VBOX_WITH_WINMM 5584 5590 { 5585 5591 CFGLDRSetString (adapterNode, "driver", "winmm"); 5586 5592 break; 5587 5593 } 5594 #endif 5588 5595 case AudioDriverType_DSOUNDAudioDriver: 5589 5596 { … … 5592 5599 } 5593 5600 #endif /* __WIN__ */ 5601 case AudioDriverType_ALSAAudioDriver: 5594 5602 #ifdef VBOX_WITH_ALSA 5595 case AudioDriverType_ALSAAudioDriver:5596 5603 { 5597 5604 CFGLDRSetString (adapterNode, "driver", "alsa"); 5598 5605 break; 5599 5606 } 5600 #else5601 /* fall back to OSS */5602 case AudioDriverType_ALSAAudioDriver:5603 5607 #endif 5604 5608 #ifdef __LINUX__
Note:
See TracChangeset
for help on using the changeset viewer.