mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-26 07:00:13 -05:00
Remove port
Remove the port object. We don't use it as a dbus object and we don't need it, we can use the link and node object directy. Move poll code and event handler to the node.
This commit is contained in:
parent
463954a299
commit
7d3e46e7f9
22 changed files with 689 additions and 1848 deletions
|
|
@ -52,15 +52,6 @@
|
|||
<arg type='h' name='fd' direction='out'/>
|
||||
</method>
|
||||
|
||||
<method name='LinkNodes'>
|
||||
<arg type='s' name='src_port' direction='in' />
|
||||
<arg type='s' name='dest_port' direction='in' />
|
||||
<arg type='s' name='format_filter' direction='in'/>
|
||||
<arg type='a{sv}' name='properties' direction='in'/>
|
||||
<arg type='o' name='link' direction='out' />
|
||||
</method>
|
||||
|
||||
|
||||
</interface>
|
||||
|
||||
<interface name='org.pinos.Client1'>
|
||||
|
|
@ -86,16 +77,13 @@
|
|||
|
||||
<property name='Ports' type='a(uu)' access='read' />
|
||||
|
||||
<method name='AddPort'>
|
||||
<arg type='u' name='direction' direction='in'/>
|
||||
<arg type='u' name='id' direction='in'/>
|
||||
<method name='Link'>
|
||||
<arg type='o' name='input_node' direction='in' />
|
||||
<arg type='s' name='format_filter' direction='in'/>
|
||||
<arg type='a{sv}' name='properties' direction='in'/>
|
||||
<arg type='o' name='link' direction='out' />
|
||||
</method>
|
||||
|
||||
<method name='RemovePort'>
|
||||
<arg type='u' name='id' direction='in'/>
|
||||
</method>
|
||||
|
||||
|
||||
<!-- state: state of the node
|
||||
-1 = the node is in error
|
||||
0 = the node is suspended, this means that the node is not
|
||||
|
|
@ -128,8 +116,10 @@
|
|||
<!-- Owner: the owner path of this link -->
|
||||
<property name='Owner' type='s' access='read' />
|
||||
|
||||
<property name='SrcPort' type='s' access='read' />
|
||||
<property name='DestPort' type='s' access='read' />
|
||||
<property name='OutputNode' type='o' access='read' />
|
||||
<property name='OutputPort' type='u' access='read' />
|
||||
<property name='InputNode' type='o' access='read' />
|
||||
<property name='InputPort' type='u' access='read' />
|
||||
|
||||
<property name='Properties' type='a{sv}' access='read' />
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue