George Kiagiadakis
e603ed4215
lib: add some debug statements to debug the destruction sequence
2019-06-18 10:33:38 +03:00
George Kiagiadakis
64affcaf49
proxy: maintain a weak ref to the core
...
avoids criticals and crashes when the core is destroyed earlier
2019-06-18 10:21:58 +03:00
Julian Bouzas
aa1ce5cdd4
proxy: add API
2019-06-17 10:42:29 -04:00
George Kiagiadakis
447c968846
Refactor everything!
...
After discussing things at the AGL May 2019 F2F meeting
and reflecting on the initial design of WirePlumber,
it became clear that it needed a fresh start.
2019-05-17 13:34:07 +03:00
George Kiagiadakis
43365715f7
many crash fixes
2019-04-28 14:20:00 +03:00
George Kiagiadakis
e16e66de2d
lib: object/interface: do not (transfer full) interfaces and objects
2019-04-26 13:19:18 +03:00
George Kiagiadakis
02c69fd2fa
proxy: add methods to get info & enum params
2019-04-26 12:36:49 +03:00
George Kiagiadakis
cb1b3ebfad
proxy: expose pw properties as a spa_dict and store them in a pw_properties
...
Exposing a spa_dict is necessary to allow using native pipewire API
that deals with these properties.
The internal structure change avoids mem copies when we need to
return a spa_dict.
This commits also removes exposing internal info structures via the
properties mechanism. This needs more thinking...
2019-04-23 16:28:13 +03:00
George Kiagiadakis
4fcdb931be
proxy/plugin: hold a pointer to the core instead of the respective registry
...
This makes it more intuitive to get other attached interfaces
from the core
2019-04-22 17:48:02 +03:00
George Kiagiadakis
55365e97c1
lib: proxy: make the pipewire property getter an interface on WpObject
...
We are going to use this in other object types as well
2019-04-22 12:44:42 +03:00
George Kiagiadakis
87d60a80aa
proxy: subclass from WpObject to allow attaching interfaces dynamically
2019-04-17 16:12:03 +03:00
George Kiagiadakis
f1bb4e3588
lib: implement proxy & proxy-registry
2019-04-15 17:07:06 +03:00
George Kiagiadakis
6f6e2b0e3e
lib: implement plugin mechanism and a basic proxy object
2019-04-12 12:37:36 +03:00