summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/audiobackend-pulse.cc8
1 files 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 <pulse/simple.h>
#include <pulse/error.h>
-#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.