mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-19 07:50:49 +00:00
Check if pulse driver is installed and enabled.
This commit is contained in:
parent
3fb1bf8d5c
commit
f9ca336a2d
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,8 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#if PULSE_SUPPORT
|
||||||
|
|
||||||
#include <pulse/simple.h>
|
#include <pulse/simple.h>
|
||||||
#include <pulse/error.h>
|
#include <pulse/error.h>
|
||||||
|
|
||||||
|
@ -282,3 +284,6 @@ fluid_pulse_audio_run2(void* d)
|
||||||
|
|
||||||
return FLUID_THREAD_RETURN_VALUE;
|
return FLUID_THREAD_RETURN_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* PULSE_SUPPORT */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue