[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v1.0-dev-199-g36e7f8a

Colin Guthrie gitmailer-noreply at 0pointer.de
Sun Mar 20 07:10:40 PDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The master branch has been updated
      from  b676f89d8579c7ec1629892342a330f1e4c35657 (commit)

- Log -----------------------------------------------------------------
36e7f8a tunnel: Fix tunnel streams with recent servers
-----------------------------------------------------------------------

Summary of changes:
 src/modules/module-tunnel.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

-----------------------------------------------------------------------

commit 36e7f8a92e8b340dd4034a39a655ba93bcd41886
Author: Colin Guthrie <cguthrie at mandriva.org>
Date:   Sun Mar 20 14:09:14 2011 +0000

    tunnel: Fix tunnel streams with recent servers
    
    Prompted by bug #750. Thanks to Emil Renner Berthing for the original
    patch.

diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
index af1bb95..65fb67d 100644
--- a/src/modules/module-tunnel.c
+++ b/src/modules/module-tunnel.c
@@ -1685,6 +1685,14 @@ static void setup_complete_callback(pa_pdispatch *pd, uint32_t command, uint32_t
         pa_tagstruct_put_boolean(reply, FALSE); /* fail on suspend */
     }
 
+#ifdef TUNNEL_SINK
+    if (u->version >= 17)
+        pa_tagstruct_put_boolean(reply, FALSE); /* relative volume */
+
+    if (u->version >= 18) {
+        pa_tagstruct_put_boolean(reply, FALSE); /* passthough stream */
+#endif
+
     pa_pstream_send_tagstruct(u->pstream, reply);
     pa_pdispatch_register_reply(u->pdispatch, tag, DEFAULT_TIMEOUT, create_stream_callback, u, NULL);
 

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list