summaryrefslogtreecommitdiff
path: root/audio/akode/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'audio/akode/patches/patch-ai')
-rw-r--r--audio/akode/patches/patch-ai22
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/akode/patches/patch-ai b/audio/akode/patches/patch-ai
new file mode 100644
index 00000000000..ff25f7ddbd3
--- /dev/null
+++ b/audio/akode/patches/patch-ai
@@ -0,0 +1,22 @@
+$NetBSD: patch-ai,v 1.1.1.1 2009/02/26 18:00:34 hasso Exp $
+
+--- akode/plugins/polyp_sink/polyp_sink.cpp.orig 2009-02-20 19:59:19 +0200
++++ akode/plugins/polyp_sink/polyp_sink.cpp 2009-02-20 20:00:57 +0200
+@@ -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();