George Kiagiadakis
43365715f7
many crash fixes
2019-04-28 14:20:00 +03:00
George Kiagiadakis
ac65d44bbf
session: make the media_class a normal GObject property
2019-04-28 14:18:44 +03:00
George Kiagiadakis
bd1c233f43
Revert "lib: object: allow also using static interfaces using the WpObject API"
...
This reverts commit daa49af541
.
2019-04-28 11:55:46 +03:00
George Kiagiadakis
41b1f40053
plugin-registry-impl: remove useless warning
2019-04-26 13:56:34 +03:00
George Kiagiadakis
26ad8bcad9
core: connect the new-proxy-available signal to the plugins' handle_pw_proxy
2019-04-26 13:55:46 +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
b376c5d7c4
modules: add a basic default session implementation as a module
2019-04-26 12:39:35 +03:00
George Kiagiadakis
02c69fd2fa
proxy: add methods to get info & enum params
2019-04-26 12:36:49 +03:00
George Kiagiadakis
b6d1df6d68
plugin: remove WP_PLUGIN_DEFINE_TYPE - bad idea
2019-04-23 16:30:36 +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
daa49af541
lib: object: allow also using static interfaces using the WpObject API
2019-04-22 18:42:59 +03:00
George Kiagiadakis
19f10a81c9
core: implement an interface to retrieve the pw_core & pw_remote
2019-04-22 18:26:09 +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
ede602a05a
implement WpSession & WpSessionRegistry
2019-04-22 13:07:08 +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
eeb99f908a
proxy-registry-impl: run every proxy through the plugins' provide_interfaces
...
This allows plugins to provide custom interfaces on proxies
2019-04-17 19:20:39 +03:00
George Kiagiadakis
ce43cf5f0c
refactoring around the registries
...
* make the registries available as dynamic interfaces of the core
* improve a bit the C API of WpObject & WpInterfaceImpl
2019-04-17 19:09:39 +03:00
George Kiagiadakis
87d60a80aa
proxy: subclass from WpObject to allow attaching interfaces dynamically
2019-04-17 16:12:03 +03:00
George Kiagiadakis
ce7f9002cd
core: fix stupid mistakes in module loading mechanism
2019-04-16 18:41:09 +03:00
George Kiagiadakis
9e0e8f62ae
plugin: implement default_handle_pw_proxy
2019-04-16 18:27:34 +03:00
George Kiagiadakis
fad4682df6
lib: move gtype out of WpPluginMetadata and simplify plugin macros
...
the GType cannot be in statically allocated data,
since it's not known at compile time
2019-04-16 18:14:59 +03:00
George Kiagiadakis
a8450b0f02
src: use a common log domain in the daemon code
...
glib log domains are not like the gstreamer ones, where you can enable
many of them with a wildcard, therefore it is not particularly useful
to have different ones per file
2019-04-16 15:44:04 +03:00
George Kiagiadakis
6f740a2a13
src: implement module loading
2019-04-16 15:42:10 +03:00
George Kiagiadakis
f1bb4e3588
lib: implement proxy & proxy-registry
2019-04-15 17:07:06 +03:00
George Kiagiadakis
aa34eaae97
lib: add a log domain
2019-04-12 13:08:11 +03:00
George Kiagiadakis
96d801803c
switch all headers to use SPDX-License-Identifier
2019-04-12 12:53:54 +03:00
George Kiagiadakis
cdf0fe43bb
add LICENSE
2019-04-12 12:51:15 +03:00
George Kiagiadakis
ae45940cc4
add README.md
2019-04-12 12:50:37 +03:00
George Kiagiadakis
6f6e2b0e3e
lib: implement plugin mechanism and a basic proxy object
2019-04-12 12:37:36 +03:00
George Kiagiadakis
a50bb17ed6
object: error is allocated by the callee (and inferred)
2019-04-11 09:57:04 +03:00
George Kiagiadakis
bd7c6e18f5
add .editorconfig
2019-04-10 12:35:41 +03:00
George Kiagiadakis
9d4731d029
lib: begin working on a library to allow implementing policy plugins
2019-04-10 12:32:51 +03:00
George Kiagiadakis
43c44fb7cf
Initial commit
2019-04-04 16:47:33 +03:00