- Timestamp:
- Jul 27, 2016 12:00:39 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices/build
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/build/VBoxDD.cpp
r62585 r62586 288 288 return rc; 289 289 #endif 290 #if defined(RT_OS_LINUX)291 # ifdef VBOX_WITH_AUDIO_PULSE292 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostPulseAudio);293 if (RT_FAILURE(rc))294 return rc;295 # endif296 # ifdef VBOX_WITH_AUDIO_ALSA297 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostALSAAudio);298 if (RT_FAILURE(rc))299 return rc;300 # endif301 # ifdef VBOX_WITH_AUDIO_OSS302 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostOSSAudio);303 if (RT_FAILURE(rc))304 return rc;305 # endif306 #endif /* RT_OS_LINUX */307 #if defined(RT_OS_FREEBSD)308 # ifdef VBOX_WITH_AUDIO_OSS309 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostOSSAudio);310 if (RT_FAILURE(rc))311 return rc;312 # endif313 #endif314 290 #if defined(RT_OS_DARWIN) 315 291 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostCoreAudio); … … 317 293 return rc; 318 294 #endif 319 #if defined(RT_OS_SOLARIS) 320 # ifdef VBOX_WITH_AUDIO_OSS 295 #ifdef VBOX_WITH_AUDIO_ALSA 296 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostALSAAudio); 297 if (RT_FAILURE(rc)) 298 return rc; 299 #endif 300 #ifdef VBOX_WITH_AUDIO_OSS 321 301 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostOSSAudio); 322 302 if (RT_FAILURE(rc)) 323 303 return rc; 324 # endif 304 #endif 305 #ifdef VBOX_WITH_AUDIO_PULSE 306 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostPulseAudio); 307 if (RT_FAILURE(rc)) 308 return rc; 325 309 #endif 326 310 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvACPI); -
trunk/src/VBox/Devices/build/VBoxDD.h
r62585 r62586 125 125 extern const PDMDRVREG g_DrvHostDSound; 126 126 #endif 127 #if defined(RT_OS_DARWIN) 128 extern const PDMDRVREG g_DrvHostCoreAudio; 129 #endif 127 130 #ifdef VBOX_WITH_AUDIO_OSS 128 131 extern const PDMDRVREG g_DrvHostOSSAudio; … … 133 136 #ifdef VBOX_WITH_AUDIO_PULSE 134 137 extern const PDMDRVREG g_DrvHostPulseAudio; 135 #endif136 #if defined(RT_OS_DARWIN)137 extern const PDMDRVREG g_DrvHostCoreAudio;138 138 #endif 139 139 extern const PDMDRVREG g_DrvACPI;
Note:
See TracChangeset
for help on using the changeset viewer.