mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: stream: remove done flag
When the `done` flag was first added in9f9be7d7f2, it was actually needed because cleanup was implemented using a per-client eventfd which was signalled when something related to the particular client needed to be freed. The function that ran, then, checked each stream's `done` flag, and freed them as necessary. However, sincec70a5de526, the stream cleanup is done using a work queue, and as a consequence, the `done` flag is no longer needed.
This commit is contained in:
parent
4426da6a62
commit
194c0f9c99
2 changed files with 7 additions and 6 deletions
|
|
@ -111,7 +111,6 @@ struct stream {
|
|||
unsigned int adjust_latency:1;
|
||||
unsigned int is_underrun:1;
|
||||
unsigned int in_prebuf:1;
|
||||
unsigned int done:1;
|
||||
unsigned int killed:1;
|
||||
unsigned int pending:1;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue