mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
update module-tunnel for recent protocol changes
This commit is contained in:
parent
f728e9cce0
commit
5996f59dd5
1 changed files with 8 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ static const pa_pdispatch_cb_t command_table[PA_COMMAND_MAX] = {
|
|||
[PA_COMMAND_PLAYBACK_STREAM_SUSPENDED] = command_suspended,
|
||||
[PA_COMMAND_RECORD_STREAM_SUSPENDED] = command_suspended,
|
||||
[PA_COMMAND_PLAYBACK_STREAM_MOVED] = command_moved,
|
||||
[PA_COMMAND_RECORD_STREAM_MOVED] = command_moved,
|
||||
[PA_COMMAND_RECORD_STREAM_MOVED] = command_moved
|
||||
};
|
||||
|
||||
struct userdata {
|
||||
|
|
@ -1494,6 +1494,13 @@ static void setup_complete_callback(pa_pdispatch *pd, uint32_t command, uint32_t
|
|||
#endif
|
||||
}
|
||||
|
||||
if (u->version >= 14) {
|
||||
#ifdef TUNNEL_SINK
|
||||
pa_tagstruct_put_boolean(reply, FALSE); /* volume_set */
|
||||
#endif
|
||||
pa_tagstruct_put_boolean(reply, TRUE); /* early rquests */
|
||||
}
|
||||
|
||||
pa_pstream_send_tagstruct(u->pstream, reply);
|
||||
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