mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulse-server: module-combine-sink: remove unnecessary conditional
After dequeueing the buffer, the code immediately checks if it is NULL, and never modifies the variable. Therefore there is no need to check again when the buffer is enqueued.
This commit is contained in:
parent
d71dd31dcf
commit
807fa19319
1 changed files with 1 additions and 2 deletions
|
|
@ -166,7 +166,6 @@ static void capture_process(void *d)
|
|||
pw_stream_queue_buffer(data->streams[i].stream, out);
|
||||
}
|
||||
|
||||
if (in != NULL)
|
||||
pw_stream_queue_buffer(data->sink, in);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue