pulse-server: remove pending_streams list

We can simply use the pending flag and merge the handling of the new
stream with the stream move logic.
This commit is contained in:
Wim Taymans 2023-09-14 12:08:48 +02:00
parent 35cca08d2b
commit 846e732458
5 changed files with 23 additions and 30 deletions

View file

@ -46,7 +46,6 @@ struct client *client_new(struct server *server)
spa_list_init(&client->out_messages);
spa_list_init(&client->operations);
spa_list_init(&client->pending_samples);
spa_list_init(&client->pending_streams);
spa_hook_list_init(&client->listener_list);
spa_list_append(&server->clients, &client->link);