mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Work on node creation
Implements the basics of the PORT_UPDATE control message Add the ports to the proxy node with whe PORT_UPDATE control message. Let the proxy node check the events and create dbus objects based on added/removed ports.
This commit is contained in:
parent
ac5d22ec79
commit
de53315f6e
17 changed files with 350 additions and 215 deletions
|
|
@ -391,6 +391,59 @@ communication channel
|
|||
+----+
|
||||
|
||||
|
||||
Client Proxy
|
||||
| INIT
|
||||
node-update |
|
||||
-------------------------------------->|
|
||||
port-update |
|
||||
-------------------------------------->|
|
||||
state-change CONFIGURE | CONFIGURE
|
||||
-------------------------------------->|
|
||||
|<--- enum-ports
|
||||
|<--- enum-formats
|
||||
|<--- add-port
|
||||
|<--- remove-port
|
||||
set-property |<--- set-property
|
||||
<--------------------------------------|
|
||||
set-format |<--- set-format
|
||||
<--------------------------------------|
|
||||
|
|
||||
port-update |
|
||||
-------------------------------------->|
|
||||
state-change READY | READY
|
||||
-------------------------------------->|
|
||||
|<--- port memory requirements
|
||||
add-mem |<--- use-buffers
|
||||
<--------------------------------------|
|
||||
remove-mem |
|
||||
<--------------------------------------|
|
||||
add-buffer |
|
||||
<--------------------------------------|
|
||||
remove-buffer |
|
||||
<--------------------------------------|
|
||||
|
|
||||
pause |<--- stop
|
||||
<--------------------------------------|
|
||||
state-change PAUSED | PAUSED
|
||||
-------------------------------------->|
|
||||
|
|
||||
play |<--- start
|
||||
<--------------------------------------|
|
||||
state-change STREAMING | STREAMING
|
||||
-------------------------------------->|
|
||||
|
|
||||
need-input |
|
||||
<------------------------------------->|
|
||||
have-output |
|
||||
<------------------------------------->|
|
||||
process-buffer |
|
||||
<------------------------------------->|
|
||||
reuse-buffer |
|
||||
<------------------------------------->|
|
||||
|
||||
|
||||
|
||||
|
||||
1) Update config C->S INIT
|
||||
|
||||
node-update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue