Commit graph

19 commits

Author SHA1 Message Date
Wim Taymans
9fa1df6f2c link: work on activate/deactivate
Recursively activate links when activating nodes
2017-07-03 17:34:30 +02:00
Wim Taymans
d2f877912a Use graph to schedule things
Make real spa_graph nodes and ports and schedule those. This makes
it possible to add explicit tee and mixers in the real graph.
Rework the way we add and remove ports and nodes from the graph.
Remove confusing pw_port_link and merge core with pw_link_new()
Move scheduling in separate files, add some more graph-schedulers.
2017-06-30 19:36:39 +02:00
Wim Taymans
7297c18839 Cleanups 2017-06-29 12:53:10 +02:00
Wim Taymans
a1fdfdc818 link: streamline state changes a little
port: add methods for things that can change the port state.
2017-06-29 12:05:03 +02:00
Wim Taymans
bc56c59597 loop: add block flag to invoke
Remove async shutdown and block instead.
2017-06-26 10:41:19 +02:00
Wim Taymans
b608599220 doc updates 2017-06-20 18:01:20 +02:00
Wim Taymans
3b5a308645 link: improve renegotiation
Only suspend an idle node when we need to configure a different format.
2017-06-20 16:22:25 +02:00
Wim Taymans
910318d71f link: only debug when asked to 2017-06-19 16:00:43 +02:00
Wim Taymans
ae708c14e7 Improve version handling
Add version numbers to protocol interfaces and implementation.
Allow allocating user_data in proxy and resource
Use separate methods to set implementation.
Add protocol object to keep track of available protocols and
interfaces. Add possibility to dynamically register interfaces.
2017-06-15 18:11:27 +02:00
Wim Taymans
611ce2151e access: rework access checks
Remove the access struct. Allow for the access module to override any
method of a resource to do additional checks.
2017-06-12 18:20:59 +02:00
Wim Taymans
b4fdcbd322 Debug: remove logger
Make a default logger and mapper in a .h file to be used by examples
Remove logger and mapper from libs
Make method to set the default mapper for the debug methods
2017-06-06 13:30:34 +02:00
Wim Taymans
4433203d5f Small fixes
Init ptr in mem
Use a default memory size when no params
Improve debug
Always push after we have a buffer from pull
2017-06-06 09:10:42 +02:00
Wim Taymans
c3aa0f24d2 node: remove redundant info 2017-06-02 11:04:18 +02:00
Wim Taymans
dbe20c9934 Improve introspection
Move introspectable info to the node and link.
Only enumerate the device formats once.
Change some field names.
Pass link format in introspection
2017-06-02 10:43:52 +02:00
Wim Taymans
e7327d1316 Add doxygen docs 2017-05-30 19:46:51 +02:00
Wim Taymans
ded1ea69a1 indent 2017-05-26 18:19:51 +02:00
Wim Taymans
5b037661d9 indent 2017-05-26 08:05:01 +02:00
Wim Taymans
11f23a3ffa spa: don't use typedef for struct and enum 2017-05-25 13:28:15 +02:00
Wim Taymans
83964cec87 pinos -> pipewire 2017-05-23 19:15:33 +02:00
Renamed from pinos/server/link.c (Browse further)