summaryrefslogtreecommitdiff
path: root/audio/akode/patches/patch-ai
blob: ff25f7ddbd31691a2805ec1c8b346542bd41ad21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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();