summaryrefslogtreecommitdiffstats
path: root/ext/pulse/pulsesink.h
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-04-10 21:42:13 +0300
committerStefan Kost <ensonic@users.sf.net>2009-04-10 21:42:13 +0300
commitb3d66d5e8df0287cdc684eb3bbcbb539b3a786c0 (patch)
tree36ab43c9e436634b3015af4b7996cadbd01c3c80 /ext/pulse/pulsesink.h
parent963b343548b0da29dc7f4f28db76b74c431d53fc (diff)
pulse: make it work on 0.9.12
First we ignore request to fill the ringbuffer which are less then a segment. The small request where causing stutter. Then we disable flushing the stream when running against pa 0.9.12 as this triggers an assertiong in the sound server and terminates it. It does not happen with 0.9.10 and 0.9.14.
Diffstat (limited to 'ext/pulse/pulsesink.h')
-rw-r--r--ext/pulse/pulsesink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pulse/pulsesink.h b/ext/pulse/pulsesink.h
index 2f74ac3a..cee17faf 100644
--- a/ext/pulse/pulsesink.h
+++ b/ext/pulse/pulsesink.h
@@ -62,6 +62,8 @@ struct _GstPulseSink
gdouble volume;
gboolean volume_set;
gint notify;
+
+ const gchar *pa_version;
};
struct _GstPulseSinkClass