Skip to content

Commit

Permalink
pending: stream-interaction: Duck streams if ducking stream is corked.
Browse files Browse the repository at this point in the history
When using only module-role-ducking duck streams even if the ducking stream
is in corked state.

Signed-off-by: Juho Hämäläinen <juho.hamalainen@jolla.com>
  • Loading branch information
jusa committed Feb 24, 2021
1 parent 92c4f91 commit 750fcff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/stream-interaction.c
Expand Up @@ -98,7 +98,7 @@ static const char *find_trigger_stream(struct userdata *u, pa_sink *s, pa_sink_i
continue;

trigger_role = get_trigger_role(u, j, g);
if (trigger_role && !j->muted && j->state != PA_SINK_INPUT_CORKED)
if (trigger_role && !j->muted && (u->duck || j->state != PA_SINK_INPUT_CORKED))
return trigger_role;
}

Expand Down

0 comments on commit 750fcff

Please sign in to comment.