summaryrefslogtreecommitdiffstats
path: root/akode/plugins/polyp_sink/polyp_sink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akode/plugins/polyp_sink/polyp_sink.cpp')
-rw-r--r--akode/plugins/polyp_sink/polyp_sink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/akode/plugins/polyp_sink/polyp_sink.cpp b/akode/plugins/polyp_sink/polyp_sink.cpp
index 9376dac..b48b63e 100644
--- a/akode/plugins/polyp_sink/polyp_sink.cpp
+++ b/akode/plugins/polyp_sink/polyp_sink.cpp
@@ -25,7 +25,7 @@
#elif defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#endif
-#include <polyp/polyplib-simple.h>
+#include <pulse/simple.h>
#include "audioframe.h"
#include "audiobuffer.h"
@@ -59,7 +59,7 @@ PolypSink::PolypSink()
bool PolypSink::open() {
int error = 0;
- m_data->server = pa_simple_new(0, "akode-client", PA_STREAM_PLAYBACK, 0, "", &m_data->sample_spec, 0, 255, &error );
+ m_data->server = pa_simple_new(0, "akode-client", PA_STREAM_PLAYBACK, 0, "", &m_data->sample_spec, 0, 0, &error );
if (!m_data->server || error != 0) {
m_data->error = true;
close();