mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
stream-interaction: Remove useless condition
Signed-off-by: Sangchul Lee
This commit is contained in:
parent
65cc86f609
commit
a56c8a14d6
1 changed files with 1 additions and 2 deletions
|
|
@ -273,7 +273,6 @@ static pa_hook_result_t process(struct userdata *u, pa_object *stream, bool crea
|
||||||
|
|
||||||
if (!create)
|
if (!create)
|
||||||
for (j = 0; j < u->n_groups; j++)
|
for (j = 0; j < u->n_groups; j++)
|
||||||
if (pa_sink_input_isinstance(stream))
|
|
||||||
pa_hashmap_remove(u->groups[j]->interaction_state, stream);
|
pa_hashmap_remove(u->groups[j]->interaction_state, stream);
|
||||||
|
|
||||||
if ((pa_sink_input_isinstance(stream) && !PA_SINK_INPUT(stream)->sink) ||
|
if ((pa_sink_input_isinstance(stream) && !PA_SINK_INPUT(stream)->sink) ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue