[pulseaudio-tickets] [PulseAudio] #750: The tunnel module is broken in master git branch

PulseAudio trac-noreply at tango.0pointer.de
Thu Jan 14 03:00:42 PST 2010


#750: The tunnel module is broken in master git branch
---------------------+------------------------------------------------------
  Reporter:  Esmil   |       Owner:  lennart      
      Type:  defect  |      Status:  new          
 Milestone:          |   Component:  module-tunnel
Resolution:          |    Keywords:               
---------------------+------------------------------------------------------

Comment(by Esmil):

 Hmm.. I thought it did, but now I can't find it either. There is always
 the long way:

 git remote add -f esmil git://github.com/esmil/pulseaudio.git; git show
 esmil/master

 Bit since it's so short I'll just paste it here:

 {{{
 commit 38c84be6a777a2695cb3e8ea0bda85e977a18977
 Author: Emil Renner Berthing <esmil at mailme.dk>
 Date:   Sat Dec 19 13:59:55 2009 +0100

     tunnel: fix reply to newer servers

 diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
 index c97de3a..e79a868 100644
 --- a/src/modules/module-tunnel.c
 +++ b/src/modules/module-tunnel.c
 @@ -1686,6 +1686,9 @@ static void setup_complete_callback(pa_pdispatch
 *pd, uint32_t command, uint32_t
          pa_tagstruct_put_boolean(reply, FALSE); /* fail on suspend */
      }

 +    if (u->version >= 17)
 +        pa_tagstruct_put_boolean(reply, FALSE); /* relative volume */
 +
      pa_pstream_send_tagstruct(u->pstream, reply);
      pa_pdispatch_register_reply(u->pdispatch, tag, DEFAULT_TIMEOUT,
 create_stream_callback, u, NULL);

 }}}

-- 
Ticket URL: <http://pulseaudio.org/ticket/750#comment:6>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list