mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse-bridge: fix reply of record latency
Makes bluejeans in firefox work
This commit is contained in:
parent
fead5c18d6
commit
17843ae7cb
1 changed files with 4 additions and 4 deletions
|
|
@ -1781,7 +1781,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui
|
||||||
TAG_INVALID)) < 0)
|
TAG_INVALID)) < 0)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
pw_log_info(NAME" %p: CREATE_PLAYBACK_STREAM corked:%u", impl, corked);
|
pw_log_info(NAME" %p: CREATE_PLAYBACK_STREAM corked:%u sink-name:%s sink-idx:%u",
|
||||||
|
impl, corked, sink_name, sink_index);
|
||||||
|
|
||||||
if (client->version >= 12) {
|
if (client->version >= 12) {
|
||||||
if ((res = message_get(m,
|
if ((res = message_get(m,
|
||||||
|
|
@ -2000,7 +2001,8 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
|
||||||
TAG_INVALID)) < 0)
|
TAG_INVALID)) < 0)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
pw_log_info(NAME" %p: CREATE_RECORD_STREAM corked:%u", impl, corked);
|
pw_log_info(NAME" %p: CREATE_RECORD_STREAM corked:%u source-name:%s source-index:%u",
|
||||||
|
impl, corked, source_name, source_index);
|
||||||
|
|
||||||
if (client->version >= 12) {
|
if (client->version >= 12) {
|
||||||
if ((res = message_get(m,
|
if ((res = message_get(m,
|
||||||
|
|
@ -2218,8 +2220,6 @@ static int do_get_record_latency(struct client *client, uint32_t command, uint32
|
||||||
|
|
||||||
reply = reply_new(client, tag);
|
reply = reply_new(client, tag);
|
||||||
message_put(reply,
|
message_put(reply,
|
||||||
TAG_U32, COMMAND_REPLY,
|
|
||||||
TAG_U32, tag,
|
|
||||||
TAG_USEC, 0, /* monitor latency */
|
TAG_USEC, 0, /* monitor latency */
|
||||||
TAG_USEC, stream->delay, /* source latency + queued */
|
TAG_USEC, stream->delay, /* source latency + queued */
|
||||||
TAG_BOOLEAN, !stream->corked, /* playing state */
|
TAG_BOOLEAN, !stream->corked, /* playing state */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue