diff options
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r-- | Alc/backends/pulseaudio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index fcb29e16..54265df3 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -306,6 +306,10 @@ static ALCboolean pulse_load(void) static pa_context_flags_t pulse_ctx_flags; static pa_proplist *prop_filter; +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + /* PulseAudio Event Callbacks */ static void context_state_callback(pa_context *context, void *pdata) { @@ -464,10 +468,6 @@ static DevMap *allCaptureDevNameMap; static ALuint numCaptureDevNames; -#ifndef PATH_MAX -#define PATH_MAX 4096 -#endif - typedef struct ALCpulsePlayback { DERIVE_FROM_TYPE(ALCbackend); |