mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 03:33:34 -04:00
23 lines
825 B
Plaintext
23 lines
825 B
Plaintext
$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();
|