Wim Taymans
1361a12094
spa-node: use new function to parse arguments
2018-01-27 11:46:15 +01:00
Wim Taymans
4d6ac37398
Use int instead of bool as result
...
Prefer to use an int return from a function instead of bool because
it can contain more info about failures.
2017-12-18 11:38:30 +01:00
Wim Taymans
f623556d9b
spa-node: cleanup when the module unloads
2017-11-24 17:02:04 +01:00
Wim Taymans
58451d626c
Implement param filtering
...
Make a new pod filter function and use it in the plugins to filter
in enum_params.
Small tweaks to the pod_builder
2017-11-09 17:16:54 +01:00
Wim Taymans
d96d40e30a
Add set_active method on node
...
Require that nodes need to be activated before they are scheduled.
Make method to activate remote node.
Add method to pause/resume stream.
2017-10-13 16:18:42 +02:00
Wim Taymans
c25834a692
Work on cleanup
...
Add signal handlers for daemon to shut down
Add destroy listeners for modules and do cleanup
Fix some leaks
Simplify port registration in new nodes
Hide some more data structures
Let the node implementation take care of the reuse_buffer signal because
then we can get to the graph nodes to find the destination port.
Destroy modules in core cleanup. Modules should undo everything they
have done.
Activate the link after we negotiated format and buffers.
2017-08-22 18:30:10 +02:00
Wim Taymans
db15225b51
Fix includes
2017-08-08 19:55:14 +02:00
Wim Taymans
b898eb46cd
Make structure private
...
Make structs private. Expose methods for things we need.
Signals only work on exposed structures so make a new callback helper to
signal events.
2017-08-04 10:18:54 +02:00
Wim Taymans
a003d1a39f
Add parent_id
...
Add parent_id to globals to make hierarchy of interfaces. We can use
this to group interfaces or to describe the owner.
2017-07-18 14:58:14 +02:00
Wim Taymans
d1655196c3
move things around
2017-07-11 16:08:22 +02:00