gstreamer/ext/pulse
Stefan Kost f62dc6976b pulsesink: rework context sharing
We also need to share the main-loop threads as this owns the context. Thus have
a class wide main-loop thread. From this we create a context per client-name.
Instead of always looking up the context, we keep this with the instance. The
reverse mapping is only needed in pulse singal handlers. This saves a lot of
locking. Also one signal handler becomes simpler as ther eis only one mainloop
to notify.

Now valgind happy - no leaks, no bad reads/writes.

This reverts major parts of commit 69a397c32f.

Fixes #628996
2010-09-13 16:59:22 +03:00
..
Makefile.am build: Makefile.am cleanups 2010-03-18 21:34:24 +00:00
plugin.c i18n: build fixes: #if -> #ifdef for ENABLE_NLS 2010-03-22 17:26:37 +02:00
pulsemixer.c ext: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs 2010-06-06 18:00:22 +02:00
pulsemixer.h Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ... 2008-06-10 06:45:33 +00:00
pulsemixerctrl.c pulsesink: Only use gst_audio_clock_new() when compiling against newer base 2010-07-16 17:53:55 +02:00
pulsemixerctrl.h pulse: make a few things smaller by making them bitfields 2009-10-17 08:48:21 +02:00
pulsemixertrack.c ext/pulse/: Use GST_BOILERPLATE everywhere and fix coding style at some places. 2008-08-20 17:46:48 +00:00
pulsemixertrack.h Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ... 2008-06-10 06:45:33 +00:00
pulseprobe.c pulse: mainloop creation can fail too, so handle that 2009-10-17 08:48:23 +02:00
pulseprobe.h pulse: make a few things smaller by making them bitfields 2009-10-17 08:48:21 +02:00
pulsesink.c pulsesink: rework context sharing 2010-09-13 16:59:22 +03:00
pulsesink.h pulsesink: rework context sharing 2010-09-13 16:59:22 +03:00
pulsesrc.c pulse: allow setting stream properties 2010-09-07 14:20:21 +03:00
pulsesrc.h pulse: allow setting stream properties 2010-09-07 14:20:21 +03:00
pulseutil.c pulse: allow setting stream properties 2010-09-07 14:20:21 +03:00
pulseutil.h pulse: allow setting stream properties 2010-09-07 14:20:21 +03:00