Ashok Sidipotu
025b0f6e2e
m-default-nodes: Port to Event stack
2023-04-17 07:47:09 -04:00
Julian Bouzas
5bef0f240f
default-nodes: use WpSpaJson API
2022-01-25 07:40:59 -05:00
Julian Bouzas
95e7c4abe8
m-default-nodes-api: add API to get and set default configured node name
2022-01-25 09:57:33 +00:00
Julian Bouzas
0d008dce75
m-default-nodes-api: don't return stream node if default node name matches
...
Stream nodes can never be default nodes, so we skip them in case they have the
same name as the actual default node.
Fixes #130
2022-01-06 06:50:32 +00:00
Julian Bouzas
f7dfb90db6
module-default-nodes-api: sync with core before emitting changed signal
...
This makes sure pipewire is not doing anything while emitting changed signal.
2022-01-05 08:57:33 +00:00
George Kiagiadakis
5e14c69108
m-default-nodes: lift restrictions on media.class for audio nodes
...
Previously a default source had to be Audio/Source and a default sink
had to be Audio/Sink. This did not account for:
- monitor sources (Audio/Sink)
- duplex nodes (Audio/Duplex)
- virtual sources (Audio/Source/Virtual)
With this change the restriction is now on the number of input/output
ports, so any Audio/* node with output ports is a valid target to select
as a default source, while any Audio/* node with input ports is a valid
target for a default sink.
Fixes #60
2021-10-05 17:28:42 +03:00
George Kiagiadakis
87741e39ec
s/metadatas/metadata/g
...
data is already plural
2021-06-18 10:44:24 +03:00
Julian Bouzas
8ba6439dd4
m-default-nodes-api: free default nodes when disabling plugin
2021-06-07 11:33:21 -04:00
Julian Bouzas
5756d8899d
m-default-nodes: check if node is valid before returning bound id
2021-05-20 11:18:19 -04:00
George Kiagiadakis
012363ef55
m-default-nodes-api: remove reduntant call to g_clear_object
2021-04-15 16:59:51 +03:00
George Kiagiadakis
4399512891
m-default-nodes-api: load all information before declaring the plugin as "enabled"
2021-04-09 15:52:17 +03:00
George Kiagiadakis
0ecefcb55d
policy-node: use default-nodes-api plugin
2021-03-31 13:10:13 +03:00
George Kiagiadakis
0bc257b6c3
modules: add new module-default-nodes-api
...
This is to provide easy access to default nodes from the scripts
2021-03-31 13:10:13 +03:00