mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
reintroduce channels
Bring back the channel object. Making a node and port on the client side was rather awkward because of the async nature of many methods. It feels better to have a specific communication channel object to interface with a server side port. Use port activate/deactivate to start/stop streams Remove links from the ports. We let other objects install a callback on the port to receive and route buffers.
This commit is contained in:
parent
eefe6aacb9
commit
e167d30296
26 changed files with 2840 additions and 675 deletions
|
|
@ -108,6 +108,9 @@ notify_event (PinosSubscribe *subscribe,
|
|||
else if (g_strcmp0 (interface_name, "org.pinos.Port1") == 0) {
|
||||
flags = PINOS_SUBSCRIPTION_FLAG_PORT;
|
||||
}
|
||||
else if (g_strcmp0 (interface_name, "org.pinos.Channel1") == 0) {
|
||||
flags = PINOS_SUBSCRIPTION_FLAG_CHANNEL;
|
||||
}
|
||||
g_signal_emit (subscribe, signals[SIGNAL_SUBSCRIPTION_EVENT], 0,
|
||||
event, flags, data->proxy);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue