mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
tunnel: Fix tunnel streams with recent servers
Prompted by bug #750. Thanks to Emil Renner Berthing for the original patch.
This commit is contained in:
parent
b676f89d85
commit
36e7f8a92e
1 changed files with 8 additions and 0 deletions
|
|
@ -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 */
|
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_pstream_send_tagstruct(u->pstream, reply);
|
||||||
pa_pdispatch_register_reply(u->pdispatch, tag, DEFAULT_TIMEOUT, create_stream_callback, u, NULL);
|
pa_pdispatch_register_reply(u->pdispatch, tag, DEFAULT_TIMEOUT, create_stream_callback, u, NULL);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue