George Kiagiadakis
9ca342f89f
debug: update all library code to use the new debug system
...
+ enable the new log writer on the executables
+ enable structured logging in the tests
2020-04-14 18:31:17 +03:00
Julian Bouzas
daa8091666
modules: add monitor dbus device reservation API with unit tests
2020-03-20 14:01:20 -04:00
Julian Bouzas
8adde3df75
tests: don't load unneeded audioconvert plugin in config-policy tests
2020-03-10 12:50:27 -04:00
Julian Bouzas
64f131cbdd
tests: implement begin_fade vmethod on WpFakeEndpoint
2020-02-27 08:39:15 -05:00
Julian Bouzas
620f95b628
core: add source nullable parameter in _idle_add and _timeout_add APIs
2020-02-27 08:39:10 -05:00
Julian Bouzas
8aa695770c
tests: config-policy: run the main loop in the same thread
2020-02-26 15:51:58 -05:00
Julian Bouzas
3fd65ac964
tests: config-endpoints: run the main loop in the same thread
2020-02-26 11:37:23 -05:00
Julian Bouzas
266b5422f2
tests: config-static-nodes: run the main loop in the same thread
2020-02-26 11:14:52 -05:00
George Kiagiadakis
9330208ada
proxy/core: refactor object creation
...
* core no longer exposes create_remote/local_object
* node, device & link have constructor methods
to enable the create_remote_object functionality
* added WpImplNode to wrap pw_impl_node and allow creating
"local" node instances
* added WpSpaDevice to wrap spa_device and allow creating
"local" device instances
* exporting objects in all cases now happens by requesting
FEATURE_BOUND from the proxy, eliminating the need for WpExported
* replaced WpMonitor by new, simpler code directly in module-monitor
* the proxy type lookup table in WpProxy is gone, we now
use a field on the class structure of every WpProxy subclass
and iterate through all the class structures instead; this is
more flexible and extensible
2020-02-11 11:07:44 +02:00
George Kiagiadakis
c671b0faca
lib: drop the proxy- prefix from client, device, link, port & node
2020-01-22 19:46:17 +02:00
George Kiagiadakis
5c47f1df2c
proxy: unify common info/params API in the WpProxy base class
2020-01-22 18:30:44 +02:00
Julian Bouzas
a9ac1fdc06
update to the latest pipewire API
2020-01-13 15:07:08 -05:00
Julian Bouzas
df6d1e7e2b
tests: add config-static-nodes unit test
2020-01-09 08:50:03 -05:00
Julian Bouzas
d3d977cbe4
config-policy: add timeout when waiting on conditional variables
2019-12-27 08:38:07 -05:00
Julian Bouzas
d485c1192a
base-endpoint: add _get_global_id API
2019-12-16 13:37:05 -05:00
Julian Bouzas
7ac9c6359c
modules: only allow 'sink' and 'source' strings when parsing direction in config files
2019-12-16 13:37:05 -05:00
Julian Bouzas
0ad0c9fb9d
base-endpoint: add _get_priority API
2019-12-16 13:37:05 -05:00
Julian Bouzas
3fe1e96e2e
config-policy: remove parsing of streams file
...
This is now done by the config endpoint module
2019-12-16 13:37:05 -05:00
Julian Bouzas
acda80d77c
modules: add config endpoint module
2019-12-16 13:36:56 -05:00
George Kiagiadakis
c0455c981d
lib: rename WpEndpoint* to WpBaseEndpoint*
...
to avoid name clashing with the upcoming WpEndpoint interface
that is going to be the common interface of Wp{Proxy,Exported}Endpoint
2019-12-11 19:05:05 +02:00
Julian Bouzas
b999ecf9d4
tests: improved config policy priority test to make sure endpoint role works
2019-12-11 08:55:00 -05:00
Julian Bouzas
1dec637ab5
tests: clear core weak reference when finalizing endpoint-link-fake
2019-12-10 19:35:12 -05:00
Julian Bouzas
aab57d791e
tests: make sure core is connected before starting config-policy tests
2019-12-06 13:26:56 -05:00
Julian Bouzas
8bdadd5a71
tests: fix config policy role test to work with new priotity logic
2019-12-05 10:51:39 -05:00
Julian Bouzas
d5c3f7ee87
tests: add config-policy unit test
2019-12-04 16:38:35 -05:00
George Kiagiadakis
6f358e9a3a
adapter: select a reasonable device format instead of letting pipewire choose its own
2019-11-18 11:02:03 +02:00