Check Pulseaudio server availability

This commit is contained in:
Iwan Timmer
2016-01-16 15:55:49 +01:00
parent 7e73b65797
commit cfddc233d1
3 changed files with 21 additions and 1 deletions

View File

@@ -17,6 +17,8 @@
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
*/
#include <stdbool.h>
#include "limelight-common/Limelight.h"
extern const char* audio_device;
@@ -27,4 +29,5 @@ extern AUDIO_RENDERER_CALLBACKS audio_callbacks_sdl;
#endif
#ifdef HAVE_PULSE
extern AUDIO_RENDERER_CALLBACKS audio_callbacks_pulse;
bool audio_pulse_init();
#endif