mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
impl-client: improve constructor
Pass the protocol in constructor Keep the link in the server protocol list private to the prototol.
This commit is contained in:
parent
d99b1918ed
commit
73eea24443
5 changed files with 29 additions and 22 deletions
|
|
@ -117,7 +117,6 @@ struct pw_impl_client {
|
|||
struct spa_hook_list listener_list;
|
||||
|
||||
struct pw_protocol *protocol; /**< protocol in use */
|
||||
struct spa_list protocol_link; /**< link in the protocol client_list */
|
||||
int recv_seq; /**< last received sequence number */
|
||||
int send_seq; /**< last sender sequence number */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue