mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
stream-monitor: improve stream monitor
Monitor the node Props and PropInfo and update the endpoint when they change.
This commit is contained in:
parent
8e24e57db0
commit
5b96e3a528
3 changed files with 156 additions and 82 deletions
|
|
@ -60,7 +60,6 @@ struct endpoint {
|
|||
struct pw_endpoint_info info;
|
||||
|
||||
struct spa_param_info params[5];
|
||||
uint32_t n_params;
|
||||
|
||||
struct endpoint *monitor;
|
||||
|
||||
|
|
@ -284,7 +283,6 @@ static void complete_endpoint(void *data)
|
|||
}
|
||||
|
||||
pw_client_endpoint_proxy_update(endpoint->client_endpoint,
|
||||
PW_CLIENT_ENDPOINT_UPDATE_PARAMS |
|
||||
PW_CLIENT_ENDPOINT_UPDATE_INFO,
|
||||
0, NULL,
|
||||
&endpoint->info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue