mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
core_proxy: prepare to rename pw_remote -> pw_core_proxy
The pw_remote object is really a wrapper around the pw_core_proxy. The events it emits are also available in the core proxy and are generally awkward to use. With some clever new pw_core_proxy_* methods and a pw_core_connect to create the core_proxy, we can convert all code away from pw_remote. This is a first step in this conversion, using the pw_remote behind the scenes. It leaks into some places because it really needs to become its own struct in a next step.
This commit is contained in:
parent
f8aabe69fe
commit
8a959ea7a1
37 changed files with 919 additions and 1185 deletions
|
|
@ -774,8 +774,10 @@ struct pw_remote {
|
|||
|
||||
|
||||
struct pw_stream {
|
||||
struct pw_remote *remote; /**< the owner remote */
|
||||
struct spa_list link; /**< link in the remote */
|
||||
struct pw_core_proxy *core_proxy; /**< the owner core_proxy */
|
||||
struct spa_hook core_listener;
|
||||
|
||||
struct spa_list link; /**< link in the core_proxy */
|
||||
|
||||
char *name; /**< the name of the stream */
|
||||
struct pw_properties *properties; /**< properties of the stream */
|
||||
|
|
@ -808,8 +810,10 @@ struct pw_stream {
|
|||
|
||||
|
||||
struct pw_filter {
|
||||
struct pw_remote *remote; /**< the owner remote */
|
||||
struct spa_list link; /**< link in the remote */
|
||||
struct pw_core_proxy *core_proxy; /**< the owner core proxy */
|
||||
struct spa_hook core_listener;
|
||||
|
||||
struct spa_list link; /**< link in the core proxy */
|
||||
|
||||
char *name; /**< the name of the filter */
|
||||
struct pw_properties *properties; /**< properties of the filter */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue