Changeset 88226 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Mar 22, 2021 9:13:05 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143413
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 15 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp
r88225 r88226 53 53 54 54 RT_C_DECLS_BEGIN 55 # include "alsa_stubs.h"56 # include "alsa_mangling.h"55 #include "DrvHostAudioAlsaStubs.h" 56 #include "DrvHostAudioAlsaStubsMangling.h" 57 57 RT_C_DECLS_END 58 58 -
trunk/src/VBox/Devices/Audio/DrvHostAudioAlsaStubs.cpp
r88225 r88226 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 16 */ 17 17 18 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 18 19 #include <iprt/assert.h> … … 23 24 #include <alsa/asoundlib.h> 24 25 25 #include " alsa_stubs.h"26 #include "DrvHostAudioAlsaStubs.h" 26 27 27 28 #define VBOX_ALSA_LIB "libasound.so.2" … … 30 31 static rettype (*pfn_ ## function) signature; \ 31 32 \ 32 rettype VBox_##function signature; \33 extern "C" rettype VBox_##function signature; \ 33 34 rettype VBox_##function signature \ 34 35 { \ -
trunk/src/VBox/Devices/Audio/DrvHostAudioAlsaStubs.h
r88225 r88226 16 16 */ 17 17 18 #ifndef VBOX_INCLUDED_SRC_Audio_ alsa_stubs_h19 #define VBOX_INCLUDED_SRC_Audio_ alsa_stubs_h18 #ifndef VBOX_INCLUDED_SRC_Audio_DrvHostAudioAlsaStubs_h 19 #define VBOX_INCLUDED_SRC_Audio_DrvHostAudioAlsaStubs_h 20 20 #ifndef RT_WITHOUT_PRAGMA_ONCE 21 21 # pragma once 22 22 #endif 23 24 #include <iprt/cdefs.h> 25 26 RT_C_DECLS_BEGIN 23 27 extern int audioLoadAlsaLib(void); 24 #endif /* !VBOX_INCLUDED_SRC_Audio_alsa_stubs_h */ 28 RT_C_DECLS_END 25 29 30 #endif /* !VBOX_INCLUDED_SRC_Audio_DrvHostAudioAlsaStubs_h */ 31 -
trunk/src/VBox/Devices/Audio/DrvHostAudioAlsaStubsMangling.h
r88225 r88226 18 18 */ 19 19 20 #ifndef VBOX_INCLUDED_SRC_Audio_ alsa_mangling_h21 #define VBOX_INCLUDED_SRC_Audio_ alsa_mangling_h20 #ifndef VBOX_INCLUDED_SRC_Audio_DrvHostAudioAlsaStubsMangling_h 21 #define VBOX_INCLUDED_SRC_Audio_DrvHostAudioAlsaStubsMangling_h 22 22 #ifndef RT_WITHOUT_PRAGMA_ONCE 23 23 # pragma once … … 71 71 #define snd_pcm_sw_params_sizeof ALSA_MANGLER(snd_pcm_sw_params_sizeof) 72 72 73 #endif /* !VBOX_INCLUDED_SRC_Audio_ alsa_mangling_h */73 #endif /* !VBOX_INCLUDED_SRC_Audio_DrvHostAudioAlsaStubsMangling_h */ -
trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudio.cpp
r88225 r88226 32 32 #include <iprt/semaphore.h> 33 33 34 RT_C_DECLS_BEGIN 35 # include "pulse_mangling.h" 36 # include "pulse_stubs.h" 37 RT_C_DECLS_END 34 #include "DrvHostAudioPulseAudioStubsMangling.h" 35 #include "DrvHostAudioPulseAudioStubs.h" 38 36 39 37 #include <pulse/pulseaudio.h> -
trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudioStubs.cpp
r88225 r88226 28 28 #include <pulse/pulseaudio.h> 29 29 30 #include " pulse_stubs.h"30 #include "DrvHostAudioPulseAudioStubs.h" 31 31 32 32 … … 39 39 static rettype (*g_pfn_ ## function) signature; \ 40 40 \ 41 rettype VBox_##function signature; \41 extern "C" rettype VBox_##function signature; \ 42 42 rettype VBox_##function signature \ 43 43 { \ … … 48 48 static void (*g_pfn_ ## function) signature; \ 49 49 \ 50 void VBox_##function signature; \50 extern "C" void VBox_##function signature; \ 51 51 void VBox_##function signature \ 52 52 { \ -
trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudioStubs.h
r88225 r88226 16 16 */ 17 17 18 #ifndef VBOX_INCLUDED_SRC_Audio_ pulse_stubs_h19 #define VBOX_INCLUDED_SRC_Audio_ pulse_stubs_h18 #ifndef VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubs_h 19 #define VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubs_h 20 20 #ifndef RT_WITHOUT_PRAGMA_ONCE 21 21 # pragma once 22 22 #endif 23 24 #include <iprt/cdefs.h> 25 26 RT_C_DECLS_BEGIN 23 27 extern int audioLoadPulseLib(void); 24 #endif /* !VBOX_INCLUDED_SRC_Audio_pulse_stubs_h */ 28 RT_C_DECLS_END 25 29 30 #endif /* !VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubs_h */ 31 -
trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudioStubsMangling.h
r88225 r88226 18 18 */ 19 19 20 #ifndef VBOX_INCLUDED_SRC_Audio_ pulse_mangling_h21 #define VBOX_INCLUDED_SRC_Audio_ pulse_mangling_h20 #ifndef VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubsMangling_h 21 #define VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubsMangling_h 22 22 #ifndef RT_WITHOUT_PRAGMA_ONCE 23 23 # pragma once … … 90 90 #define pa_usec_to_bytes PULSE_MANGLER(pa_usec_to_bytes) 91 91 92 #endif /* !VBOX_INCLUDED_SRC_Audio_ pulse_mangling_h */92 #endif /* !VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubsMangling_h */ 93 93
Note:
See TracChangeset
for help on using the changeset viewer.