From 7d59d990fbf5df023acef01cb092fac143be2345 Mon Sep 17 00:00:00 2001 From: Lars Bisballe Jensen Date: Sun, 28 Sep 2014 20:46:46 +0200 Subject: Moved pulse includes inside ifdefs --- src/audiobackend-pulse.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/audiobackend-pulse.cc b/src/audiobackend-pulse.cc index 63013af..83fc93d 100644 --- a/src/audiobackend-pulse.cc +++ b/src/audiobackend-pulse.cc @@ -27,11 +27,11 @@ #include "audiobackend-pulse.h" #include "mediaconfig.h" +#ifdef WITH_PULSE + #include #include -#ifdef WITH_PULSE - /* Input example: http://freedesktop.org/software/pulseaudio/doxygen/pacat-simple_8c-example.html @@ -54,7 +54,7 @@ AudioBackendPulse::AudioBackendPulse(const char *device) "SimpleRTP", // Our application's name. PA_STREAM_RECORD, NULL, // Use the default device. - "SimpleRTP", // Description of our stream. + "SimpleRTPin", // Description of our stream. &ss, // Our sample format. NULL, // Use default channel map NULL, // Use default buffering attributes. @@ -65,7 +65,7 @@ AudioBackendPulse::AudioBackendPulse(const char *device) "SimpleRTP", // Our application's name. PA_STREAM_PLAYBACK, NULL, // Use the default device. - "SimpleRTP", // Description of our stream. + "SimpleRTPout", // Description of our stream. &ss, // Our sample format. NULL, // Use default channel map NULL, // Use default buffering attributes. -- cgit v1.2.3