Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / akode / patches / patch-ai
blob4786ba17f256d3cb9b315e69330fa947fefb401c
1 $NetBSD$
3 --- akode/plugins/polyp_sink/polyp_sink.cpp.orig        2009-02-20 19:59:19 +0200
4 +++ akode/plugins/polyp_sink/polyp_sink.cpp     2009-02-20 20:00:57 +0200
5 @@ -25,7 +25,7 @@
6  #elif defined(HAVE_INTTYPES_H)
7  #include <inttypes.h>
8  #endif
9 -#include <polyp/polyplib-simple.h>
10 +#include <pulse/simple.h>
12  #include "audioframe.h"
13  #include "audiobuffer.h"
14 @@ -59,7 +59,7 @@ PolypSink::PolypSink()
16  bool PolypSink::open() {
17      int error = 0;
18 -    m_data->server = pa_simple_new(0, "akode-client", PA_STREAM_PLAYBACK, 0, "", &m_data->sample_spec, 0, 255, &error );
19 +    m_data->server = pa_simple_new(0, "akode-client", PA_STREAM_PLAYBACK, 0, "", &m_data->sample_spec, 0, 0, &error );
20      if (!m_data->server || error != 0) {
21          m_data->error = true;
22          close();