mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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,8 +273,7 @@ static pa_hook_result_t process(struct userdata *u, pa_object *stream, bool crea
|
|||
|
||||
if (!create)
|
||||
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) ||
|
||||
(pa_source_output_isinstance(stream) && !PA_SOURCE_OUTPUT(stream)->source))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue