rpms/alsa-plugins/devel 0001-alsa-plugins-pulse-Implement-pause.patch, 1.2, 1.3
Lennart Poettering
lennart at fedoraproject.org
Tue Aug 4 22:16:06 UTC 2009
- Previous message: rpms/alsa-plugins/devel 0002-pulse-get-rid-of-a-number-of-assert-s.patch, NONE, 1.1 0003-pulse-use-PA_CONTEXT_IS_GOOD-where-applicable.patch, NONE, 1.1 0004-pulse-unify-destruction-of-snd_pulse_t.patch, NONE, 1.1 0005-pulse-call-pa_threaded_mainloop_wait-to-handle-spuri.patch, NONE, 1.1 0006-pulse-replace-manual-mainloop-by-pa_mainloop_iterate.patch, NONE, 1.1 0007-pulse-move-a-couple-of-PCM-related-functions-from-pu.patch, NONE, 1.1 0008-pulse-get-rid-of-redundant-state-variable.patch, NONE, 1.1 0009-pulse-unify-stream-context-state-checks.patch, NONE, 1.1 0010-pulse-rework-object-destruction-paths-a-bit.patch, NONE, 1.1 0011-pulse-immediately-trigger-EIO-when-connection-is-dro.patch, NONE, 1.1 alsa-plugins.spec, 1.25, 1.26 0001-alsa-get-rid-of-a-number-of-assert-s.patch, 1.1, NONE 0001-alsa-plugins-pulse-Implement-pause.patch, 1.1, NONE 0002-pulse-use-PA_CONTEXT_IS_GOOD-where-applicable.patch, 1.1, NONE 0003-pulse-unify-destruction-of-snd_pulse_t.patch, 1.1, NONE 0004-pulse-call-pa_threaded_mainloop_wait-to-handle-spuri.patch, 1.1, NONE
- Next message: rpms/dhcpv6/devel dhcpv6.spec,1.104,1.105
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lennart
Update of /cvs/pkgs/rpms/alsa-plugins/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18789
Added Files:
0001-alsa-plugins-pulse-Implement-pause.patch
Log Message:
add missing 0001-alsa-plugins-pulse-Implement-pause.patch
0001-alsa-plugins-pulse-Implement-pause.patch:
pcm_pulse.c | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
Index: 0001-alsa-plugins-pulse-Implement-pause.patch
===================================================================
RCS file: 0001-alsa-plugins-pulse-Implement-pause.patch
diff -N 0001-alsa-plugins-pulse-Implement-pause.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ 0001-alsa-plugins-pulse-Implement-pause.patch 4 Aug 2009 22:16:06 -0000 1.3
@@ -0,0 +1,59 @@
+From d9a839d51255c939f394f770b249c8a4a9600122 Mon Sep 17 00:00:00 2001
+From: Troy Moure <twmoure at szypr.net>
+Date: Thu, 18 Jun 2009 14:55:21 +0100
+Subject: [PATCH 01/11] alsa-plugins/pulse: Implement 'pause'.
+
+Just cork or uncork the stream to pause or unpause it.
+
+Signed-off-by: Troy Moure <twmoure at szypr.net>
+Signed-off-by: Takashi Iwai <tiwai at suse.de>
+---
+ pulse/pcm_pulse.c | 25 +++++++++++++++++++++++++
+ 1 files changed, 25 insertions(+), 0 deletions(-)
+
+diff --git a/pulse/pcm_pulse.c b/pulse/pcm_pulse.c
+index db8d1e1..c276839 100644
+--- a/pulse/pcm_pulse.c
++++ b/pulse/pcm_pulse.c
+@@ -739,6 +739,30 @@ static int pulse_close(snd_pcm_ioplug_t * io)
+ return 0;
+ }
+
++static int pulse_pause(snd_pcm_ioplug_t * io, int enable)
++{
++ snd_pcm_pulse_t *pcm = io->private_data;
++ int err = 0;
++
++ assert (pcm);
++ assert (pcm->p);
++
++ pa_threaded_mainloop_lock(pcm->p->mainloop);
++
++ if (pcm->stream) {
++ pa_operation *o;
++ o = pa_stream_cork(pcm->stream, enable, NULL, NULL);
++ if (o)
++ pa_operation_unref(o);
++ else
++ err = -EIO;
++ }
++
++ pa_threaded_mainloop_unlock(pcm->p->mainloop);
++
++ return err;
++}
++
+ static const snd_pcm_ioplug_callback_t pulse_playback_callback = {
+ .start = pulse_start,
+ .stop = pulse_stop,
+@@ -750,6 +774,7 @@ static const snd_pcm_ioplug_callback_t pulse_playback_callback = {
+ .prepare = pulse_prepare,
+ .hw_params = pulse_hw_params,
+ .close = pulse_close,
++ .pause = pulse_pause
+ };
+
+
+--
+1.6.4
+
- Previous message: rpms/alsa-plugins/devel 0002-pulse-get-rid-of-a-number-of-assert-s.patch, NONE, 1.1 0003-pulse-use-PA_CONTEXT_IS_GOOD-where-applicable.patch, NONE, 1.1 0004-pulse-unify-destruction-of-snd_pulse_t.patch, NONE, 1.1 0005-pulse-call-pa_threaded_mainloop_wait-to-handle-spuri.patch, NONE, 1.1 0006-pulse-replace-manual-mainloop-by-pa_mainloop_iterate.patch, NONE, 1.1 0007-pulse-move-a-couple-of-PCM-related-functions-from-pu.patch, NONE, 1.1 0008-pulse-get-rid-of-redundant-state-variable.patch, NONE, 1.1 0009-pulse-unify-stream-context-state-checks.patch, NONE, 1.1 0010-pulse-rework-object-destruction-paths-a-bit.patch, NONE, 1.1 0011-pulse-immediately-trigger-EIO-when-connection-is-dro.patch, NONE, 1.1 alsa-plugins.spec, 1.25, 1.26 0001-alsa-get-rid-of-a-number-of-assert-s.patch, 1.1, NONE 0001-alsa-plugins-pulse-Implement-pause.patch, 1.1, NONE 0002-pulse-use-PA_CONTEXT_IS_GOOD-where-applicable.patch, 1.1, NONE 0003-pulse-unify-destruction-of-snd_pulse_t.patch, 1.1, NONE 0004-pulse-call-pa_threaded_mainloop_wait-to-handle-spuri.patch, 1.1, NONE
- Next message: rpms/dhcpv6/devel dhcpv6.spec,1.104,1.105
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list