- Timestamp:
- Jul 27, 2016 11:51:17 AM (8 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixer.cpp
r62579 r62585 277 277 * 278 278 * @returns IPRT status code. 279 * @param pMixer Mixer to set master volume for.280 * @param pVol Volume to set.279 * @param pMixer Mixer to set master volume for. 280 * @param pVol Volume to set. 281 281 */ 282 282 int AudioMixerSetMasterVolume(PAUDIOMIXER pMixer, PPDMAUDIOVOLUME pVol) … … 786 786 * Removes all attached streams from a given sink. 787 787 * 788 * @param pSink Sink to remove attached streams from.788 * @param pSink Sink to remove attached streams from. 789 789 */ 790 790 static void audioMixerSinkRemoveAllStreamsInternal(PAUDMIXSINK pSink) … … 803 803 * Resets the sink's state. 804 804 * 805 * @param pSink Sink to reset.805 * @param pSink Sink to reset. 806 806 */ 807 807 static void audioMixerSinkReset(PAUDMIXSINK pSink) … … 839 839 * Removes all attached streams from a given sink. 840 840 * 841 * @param pSink Sink to remove attached streams from.841 * @param pSink Sink to remove attached streams from. 842 842 */ 843 843 void AudioMixerSinkRemoveAllStreams(PAUDMIXSINK pSink) … … 892 892 * 893 893 * @returns IPRT status code. 894 * @param pSink Sink to set volume for.895 * @param pVol Volume to set.894 * @param pSink Sink to set volume for. 895 * @param pVol Volume to set. 896 896 */ 897 897 int AudioMixerSinkSetVolume(PAUDMIXSINK pSink, PPDMAUDIOVOLUME pVol) -
trunk/src/VBox/Devices/Audio/DevIchHdaCodec.cpp
r61888 r62585 35 35 36 36 #include "VBoxDD.h" 37 #include "DrvAudio.h" 37 38 #include "DevIchHdaCodec.h" 38 39 #include "DevIchHdaCommon.h" -
trunk/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp
r62463 r62585 43 43 /* OSS > 3.6 has a new syscall available for querying a bit more detailed information 44 44 * about OSS' audio capabilities. This is handy for e.g. Solaris. */ 45 # define VBOX_WITH_ OSS_SYSINFO 145 # define VBOX_WITH_AUDIO_OSS_SYSINFO 1 46 46 #endif 47 47 … … 597 597 int ossVer = -1; 598 598 599 #ifdef VBOX_WITH_ OSS_SYSINFO599 #ifdef VBOX_WITH_AUDIO_OSS_SYSINFO 600 600 oss_sysinfo ossInfo; 601 601 RT_ZERO(ossInfo); … … 608 608 { 609 609 LogRel2(("OSS: Using version: %d\n", ossVer)); 610 #ifdef VBOX_WITH_ OSS_SYSINFO610 #ifdef VBOX_WITH_AUDIO_OSS_SYSINFO 611 611 err = ioctl(hFile, OSS_SYSINFO, &ossInfo); 612 612 if (err == 0) … … 635 635 pCfg->cMaxStreamsIn = UINT32_MAX; 636 636 pCfg->cMaxStreamsOut = UINT32_MAX; 637 #ifdef VBOX_WITH_ OSS_SYSINFO637 #ifdef VBOX_WITH_AUDIO_OSS_SYSINFO 638 638 } 639 639 #endif -
trunk/src/VBox/Devices/Makefile.kmk
r62580 r62585 564 564 endif 565 565 566 ifdef VBOX_WITH_ OSS567 VBoxDD_DEFS += VBOX_WITH_ OSS566 ifdef VBOX_WITH_AUDIO_OSS 567 VBoxDD_DEFS += VBOX_WITH_AUDIO_OSS 568 568 VBoxDD_SOURCES += \ 569 569 Audio/DrvHostOSSAudio.cpp 570 570 endif 571 571 572 ifdef VBOX_WITH_A LSA573 VBoxDD_DEFS += VBOX_WITH_A LSA572 ifdef VBOX_WITH_AUDIO_ALSA 573 VBoxDD_DEFS += VBOX_WITH_AUDIO_ALSA 574 574 VBoxDD_SOURCES += \ 575 575 Audio/DrvHostALSAAudio.cpp \ … … 577 577 endif 578 578 579 ifdef VBOX_WITH_ PULSE580 VBoxDD_DEFS += VBOX_WITH_ PULSE579 ifdef VBOX_WITH_AUDIO_PULSE 580 VBoxDD_DEFS += VBOX_WITH_AUDIO_PULSE 581 581 VBoxDD_SOURCES += \ 582 582 Audio/DrvHostPulseAudio.cpp \ -
trunk/src/VBox/Devices/build/VBoxDD.cpp
r62580 r62585 289 289 #endif 290 290 #if defined(RT_OS_LINUX) 291 # ifdef VBOX_WITH_ PULSE291 # ifdef VBOX_WITH_AUDIO_PULSE 292 292 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostPulseAudio); 293 293 if (RT_FAILURE(rc)) 294 294 return rc; 295 295 # endif 296 # ifdef VBOX_WITH_A LSA296 # ifdef VBOX_WITH_AUDIO_ALSA 297 297 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostALSAAudio); 298 298 if (RT_FAILURE(rc)) 299 299 return rc; 300 300 # endif 301 # ifdef VBOX_WITH_ OSS301 # ifdef VBOX_WITH_AUDIO_OSS 302 302 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostOSSAudio); 303 303 if (RT_FAILURE(rc)) … … 306 306 #endif /* RT_OS_LINUX */ 307 307 #if defined(RT_OS_FREEBSD) 308 # ifdef VBOX_WITH_ OSS308 # ifdef VBOX_WITH_AUDIO_OSS 309 309 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostOSSAudio); 310 310 if (RT_FAILURE(rc)) … … 318 318 #endif 319 319 #if defined(RT_OS_SOLARIS) 320 # ifdef VBOX_WITH_ OSS320 # ifdef VBOX_WITH_AUDIO_OSS 321 321 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostOSSAudio); 322 322 if (RT_FAILURE(rc)) -
trunk/src/VBox/Devices/build/VBoxDD.h
r62580 r62585 125 125 extern const PDMDRVREG g_DrvHostDSound; 126 126 #endif 127 #ifdef VBOX_WITH_ OSS127 #ifdef VBOX_WITH_AUDIO_OSS 128 128 extern const PDMDRVREG g_DrvHostOSSAudio; 129 129 #endif 130 #ifdef VBOX_WITH_A LSA130 #ifdef VBOX_WITH_AUDIO_ALSA 131 131 extern const PDMDRVREG g_DrvHostALSAAudio; 132 132 #endif 133 #ifdef VBOX_WITH_ PULSE133 #ifdef VBOX_WITH_AUDIO_PULSE 134 134 extern const PDMDRVREG g_DrvHostPulseAudio; 135 135 #endif -
trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk
r62056 r62585 29 29 $(if $(VBOX_WITH_HOSTNETIF_API), VBOX_WITH_HOSTNETIF_API) \ 30 30 $(if $(VBOX_WITH_NETFLT), VBOX_WITH_NETFLT) \ 31 $(if $(VBOX_WITH_ OSS), VBOX_WITH_OSS) \32 $(if $(VBOX_WITH_A LSA), VBOX_WITH_ALSA) \33 $(if $(VBOX_WITH_ PULSE),VBOX_WITH_PULSE) \31 $(if $(VBOX_WITH_AUDIO_OSS), VBOX_WITH_AUDIO_OSS) \ 32 $(if $(VBOX_WITH_AUDIO_ALSA), VBOX_WITH_AUDIO_ALSA) \ 33 $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE) \ 34 34 $(if $(VBOX_WITH_SCSI), VBOX_WITH_SCSI) \ 35 35 $(if $(VBOX_WITH_VBOXSDL), VBOX_WITH_VBOXSDL) \ -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r62058 r62585 802 802 { 803 803 RTStrmPrintf(pStrm, "" 804 #ifdef VBOX_WITH_ OSS804 #ifdef VBOX_WITH_AUDIO_OSS 805 805 "|oss" 806 806 #endif 807 #ifdef VBOX_WITH_A LSA807 #ifdef VBOX_WITH_AUDIO_ALSA 808 808 "|alsa" 809 809 #endif 810 #ifdef VBOX_WITH_ PULSE810 #ifdef VBOX_WITH_AUDIO_PULSE 811 811 "|pulse" 812 812 #endif … … 815 815 if (fFreeBSD) 816 816 { 817 #ifdef VBOX_WITH_ OSS817 #ifdef VBOX_WITH_AUDIO_OSS 818 818 /* Get the line break sorted when dumping all option variants. */ 819 819 if (fDumpOpts) … … 825 825 RTStrmPrintf(pStrm, "|oss"); 826 826 #endif 827 #ifdef VBOX_WITH_ PULSE827 #ifdef VBOX_WITH_AUDIO_PULSE 828 828 RTStrmPrintf(pStrm, "|pulse"); 829 829 #endif -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r62056 r62585 2286 2286 } 2287 2287 #endif /* RT_OS_WINDOWS */ 2288 #ifdef VBOX_WITH_ OSS2288 #ifdef VBOX_WITH_AUDIO_OSS 2289 2289 else if (!RTStrICmp(ValueUnion.psz, "oss")) 2290 2290 { … … 2293 2293 } 2294 2294 #endif 2295 #ifdef VBOX_WITH_A LSA2295 #ifdef VBOX_WITH_AUDIO_ALSA 2296 2296 else if (!RTStrICmp(ValueUnion.psz, "alsa")) 2297 2297 { … … 2300 2300 } 2301 2301 #endif 2302 #ifdef VBOX_WITH_ PULSE2302 #ifdef VBOX_WITH_AUDIO_PULSE 2303 2303 else if (!RTStrICmp(ValueUnion.psz, "pulse")) 2304 2304 { -
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r62493 r62585 123 123 $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \ 124 124 $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \ 125 $(if $(VBOX_WITH_ OSS),VBOX_WITH_OSS) \126 $(if $(VBOX_WITH_A LSA),VBOX_WITH_ALSA) \127 $(if $(VBOX_WITH_ PULSE),VBOX_WITH_PULSE) \125 $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS) \ 126 $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA) \ 127 $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE) \ 128 128 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \ 129 129 $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsAudio.cpp
r62056 r62585 153 153 #endif /* Q_OS_WIN */ 154 154 155 #ifdef VBOX_WITH_ OSS155 #ifdef VBOX_WITH_AUDIO_OSS 156 156 m_pComboAudioDriver->setItemText(++iIndex, gpConverter->toString(KAudioDriverType_OSS)); 157 157 #endif 158 158 159 #ifdef VBOX_WITH_A LSA159 #ifdef VBOX_WITH_AUDIO_ALSA 160 160 m_pComboAudioDriver->setItemText(++iIndex, gpConverter->toString(KAudioDriverType_ALSA)); 161 161 #endif 162 162 163 #ifdef VBOX_WITH_ PULSE163 #ifdef VBOX_WITH_AUDIO_PULSE 164 164 m_pComboAudioDriver->setItemText(++iIndex, gpConverter->toString(KAudioDriverType_Pulse)); 165 165 #endif … … 212 212 # endif /* VBOX_WITH_WINMM */ 213 213 #endif /* Q_OS_WIN */ 214 #ifdef VBOX_WITH_ OSS214 #ifdef VBOX_WITH_AUDIO_OSS 215 215 m_pComboAudioDriver->insertItem(++iIndex, "", KAudioDriverType_OSS); 216 216 #endif 217 #ifdef VBOX_WITH_A LSA217 #ifdef VBOX_WITH_AUDIO_ALSA 218 218 m_pComboAudioDriver->insertItem(++iIndex, "", KAudioDriverType_ALSA); 219 #endif /* VBOX_WITH_A LSA */220 #ifdef VBOX_WITH_ PULSE219 #endif /* VBOX_WITH_AUDIO_ALSA */ 220 #ifdef VBOX_WITH_AUDIO_PULSE 221 221 m_pComboAudioDriver->insertItem(++iIndex, "", KAudioDriverType_Pulse); 222 #endif /* VBOX_WITH_ PULSE */222 #endif /* VBOX_WITH_AUDIO_PULSE */ 223 223 #ifdef Q_OS_MACX 224 224 m_pComboAudioDriver->insertItem(++iIndex, "", KAudioDriverType_CoreAudio); -
trunk/src/VBox/Main/Makefile.kmk
r62580 r62585 271 271 $(if $(VBOX_WITH_QTGUI),VBOX_WITH_QTGUI,) \ 272 272 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \ 273 $(if $(VBOX_WITH_ OSS),VBOX_WITH_OSS,) \274 $(if $(VBOX_WITH_A LSA),VBOX_WITH_ALSA,) \275 $(if $(VBOX_WITH_ PULSE),VBOX_WITH_PULSE,) \273 $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS,) \ 274 $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA,) \ 275 $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE,) \ 276 276 $(if $(VBOX_WITH_AUDIO_DEBUG),VBOX_WITH_AUDIO_DEBUG,) \ 277 277 $(if $(VBOX_WITH_VRDE_AUDIO),VBOX_WITH_VRDE_AUDIO,) \ … … 643 643 VBOX_COM_INPROC \ 644 644 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \ 645 $(if $(VBOX_WITH_ OSS),VBOX_WITH_OSS,) \646 $(if $(VBOX_WITH_A LSA),VBOX_WITH_ALSA,) \647 $(if $(VBOX_WITH_ PULSE),VBOX_WITH_PULSE,) \645 $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS,) \ 646 $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA,) \ 647 $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE,) \ 648 648 $(if $(VBOX_WITH_VRDE_AUDIO),VBOX_WITH_VRDE_AUDIO,) \ 649 649 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) \ -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r62580 r62585 2877 2877 } 2878 2878 #endif 2879 #ifdef VBOX_WITH_ OSS2879 #ifdef VBOX_WITH_AUDIO_OSS 2880 2880 case AudioDriverType_OSS: 2881 2881 { … … 2884 2884 } 2885 2885 #endif 2886 #ifdef VBOX_WITH_A LSA2886 #ifdef VBOX_WITH_AUDIO_ALSA 2887 2887 case AudioDriverType_ALSA: 2888 2888 { … … 2891 2891 } 2892 2892 #endif 2893 #ifdef VBOX_WITH_ PULSE2893 #ifdef VBOX_WITH_AUDIO_PULSE 2894 2894 case AudioDriverType_Pulse: 2895 2895 { -
trunk/src/VBox/Main/xml/Settings.cpp
r62363 r62585 6701 6701 case AudioDriverType_DirectSound: 6702 6702 #endif 6703 #ifdef VBOX_WITH_ OSS6703 #ifdef VBOX_WITH_AUDIO_OSS 6704 6704 case AudioDriverType_OSS: 6705 6705 #endif 6706 #ifdef VBOX_WITH_A LSA6706 #ifdef VBOX_WITH_AUDIO_ALSA 6707 6707 case AudioDriverType_ALSA: 6708 6708 #endif 6709 #ifdef VBOX_WITH_ PULSE6709 #ifdef VBOX_WITH_AUDIO_PULSE 6710 6710 case AudioDriverType_Pulse: 6711 6711 #endif … … 6741 6741 if (s_linuxDriver == (AudioDriverType_T)-1) 6742 6742 { 6743 # ifdef VBOX_WITH_ PULSE6743 # ifdef VBOX_WITH_AUDIO_PULSE 6744 6744 /* Check for the pulse library & that the pulse audio daemon is running. */ 6745 6745 if (RTProcIsRunningByName("pulseaudio") && … … 6747 6747 s_linuxDriver = AudioDriverType_Pulse; 6748 6748 else 6749 # endif /* VBOX_WITH_ PULSE */6750 # ifdef VBOX_WITH_A LSA6749 # endif /* VBOX_WITH_AUDIO_PULSE */ 6750 # ifdef VBOX_WITH_AUDIO_ALSA 6751 6751 /* Check if we can load the ALSA library */ 6752 6752 if (RTLdrIsLoadable("libasound.so.2")) 6753 6753 s_linuxDriver = AudioDriverType_ALSA; 6754 6754 else 6755 # endif /* VBOX_WITH_A LSA */6755 # endif /* VBOX_WITH_AUDIO_ALSA */ 6756 6756 s_linuxDriver = AudioDriverType_OSS; 6757 6757 } … … 6762 6762 return AudioDriverType_MMPM; 6763 6763 #else /* All other platforms. */ 6764 # ifdef VBOX_WITH_ OSS6764 # ifdef VBOX_WITH_AUDIO_OSS 6765 6765 return AudioDriverType_OSS; 6766 6766 # endif
Note:
See TracChangeset
for help on using the changeset viewer.