VirtualBox

Changeset 62586 in vbox for trunk


Ignore:
Timestamp:
Jul 27, 2016 12:00:39 PM (8 years ago)
Author:
vboxsync
Message:

Audio/VBoxDD: Cleanup.

Location:
trunk/src/VBox/Devices/build
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r62585 r62586  
    288288        return rc;
    289289#endif
    290 #if defined(RT_OS_LINUX)
    291 # ifdef VBOX_WITH_AUDIO_PULSE
    292     rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostPulseAudio);
    293     if (RT_FAILURE(rc))
    294         return rc;
    295 # endif
    296 # ifdef VBOX_WITH_AUDIO_ALSA
    297     rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostALSAAudio);
    298     if (RT_FAILURE(rc))
    299         return rc;
    300 # endif
    301 # ifdef VBOX_WITH_AUDIO_OSS
    302     rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostOSSAudio);
    303     if (RT_FAILURE(rc))
    304         return rc;
    305 # endif
    306 #endif /* RT_OS_LINUX */
    307 #if defined(RT_OS_FREEBSD)
    308 # ifdef VBOX_WITH_AUDIO_OSS
    309     rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostOSSAudio);
    310     if (RT_FAILURE(rc))
    311         return rc;
    312 # endif
    313 #endif
    314290#if defined(RT_OS_DARWIN)
    315291    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostCoreAudio);
     
    317293        return rc;
    318294#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
    321301    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostOSSAudio);
    322302    if (RT_FAILURE(rc))
    323303        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;
    325309#endif
    326310    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvACPI);
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r62585 r62586  
    125125extern const PDMDRVREG g_DrvHostDSound;
    126126#endif
     127#if defined(RT_OS_DARWIN)
     128extern const PDMDRVREG g_DrvHostCoreAudio;
     129#endif
    127130#ifdef VBOX_WITH_AUDIO_OSS
    128131extern const PDMDRVREG g_DrvHostOSSAudio;
     
    133136#ifdef VBOX_WITH_AUDIO_PULSE
    134137extern const PDMDRVREG g_DrvHostPulseAudio;
    135 #endif
    136 #if defined(RT_OS_DARWIN)
    137 extern const PDMDRVREG g_DrvHostCoreAudio;
    138138#endif
    139139extern const PDMDRVREG g_DrvACPI;
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