diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/backends/alsa.c | 2 | ||||
-rw-r--r-- | Alc/backends/dsound.cpp | 2 | ||||
-rw-r--r-- | Alc/backends/jack.c | 2 | ||||
-rw-r--r-- | Alc/backends/portaudio.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/Alc/backends/alsa.c b/Alc/backends/alsa.c index a967fff0..6f22ae60 100644 --- a/Alc/backends/alsa.c +++ b/Alc/backends/alsa.c @@ -119,6 +119,7 @@ static void *alsa_handle; ALSA_FUNCS(MAKE_FUNC); #undef MAKE_FUNC +#ifndef IN_IDE_PARSER #define snd_strerror psnd_strerror #define snd_pcm_open psnd_pcm_open #define snd_pcm_close psnd_pcm_close @@ -192,6 +193,7 @@ ALSA_FUNCS(MAKE_FUNC); #define snd_card_next psnd_card_next #define snd_config_update_free_global psnd_config_update_free_global #endif +#endif static ALCboolean alsa_load(void) diff --git a/Alc/backends/dsound.cpp b/Alc/backends/dsound.cpp index e5efe706..e760e9f5 100644 --- a/Alc/backends/dsound.cpp +++ b/Alc/backends/dsound.cpp @@ -85,11 +85,13 @@ static HRESULT (WINAPI *pDirectSoundEnumerateW)(LPDSENUMCALLBACKW pDSEnumCallbac static HRESULT (WINAPI *pDirectSoundCaptureCreate)(const GUID *pcGuidDevice, IDirectSoundCapture **ppDSC, IUnknown *pUnkOuter); static HRESULT (WINAPI *pDirectSoundCaptureEnumerateW)(LPDSENUMCALLBACKW pDSEnumCallback, void *pContext); +#ifndef IN_IDE_PARSER #define DirectSoundCreate pDirectSoundCreate #define DirectSoundEnumerateW pDirectSoundEnumerateW #define DirectSoundCaptureCreate pDirectSoundCaptureCreate #define DirectSoundCaptureEnumerateW pDirectSoundCaptureEnumerateW #endif +#endif static ALCboolean DSoundLoad(void) diff --git a/Alc/backends/jack.c b/Alc/backends/jack.c index 899d5a55..8f934687 100644 --- a/Alc/backends/jack.c +++ b/Alc/backends/jack.c @@ -68,6 +68,7 @@ JACK_FUNCS(MAKE_FUNC); static __typeof(jack_error_callback) * pjack_error_callback; #undef MAKE_FUNC +#ifndef IN_IDE_PARSER #define jack_client_open pjack_client_open #define jack_client_close pjack_client_close #define jack_client_name_size pjack_client_name_size @@ -89,6 +90,7 @@ static __typeof(jack_error_callback) * pjack_error_callback; #define jack_get_buffer_size pjack_get_buffer_size #define jack_error_callback (*pjack_error_callback) #endif +#endif static jack_options_t ClientOptions = JackNullOption; diff --git a/Alc/backends/portaudio.c b/Alc/backends/portaudio.c index 6a6cfa31..7bc3c230 100644 --- a/Alc/backends/portaudio.c +++ b/Alc/backends/portaudio.c @@ -53,6 +53,7 @@ MAKE_FUNC(Pa_GetDefaultInputDevice); MAKE_FUNC(Pa_GetStreamInfo); #undef MAKE_FUNC +#ifndef IN_IDE_PARSER #define Pa_Initialize pPa_Initialize #define Pa_Terminate pPa_Terminate #define Pa_GetErrorText pPa_GetErrorText @@ -64,6 +65,7 @@ MAKE_FUNC(Pa_GetStreamInfo); #define Pa_GetDefaultInputDevice pPa_GetDefaultInputDevice #define Pa_GetStreamInfo pPa_GetStreamInfo #endif +#endif static ALCboolean pa_load(void) { |