wireplumber/lib/wp
Julian Bouzas 2223cd47d4 settings: use WpSpaJson to parse the settings
We need to use WpSpaJson to parse the values in WpSettings. This is because the
wireplumber configuration is written in JSON, so WpSettings should only hold
JSON values. To fix this, 2 API changes have been done:

- wp_settings_get_int() only accepts gint values, instead of gint64 values. This
is because the WpSpaJson API only parses int values, like spa_json_parse_int().

- wp_settings_get_string() now returns a newly allocated string, this is because
the string needs to be decoded in case it has quotes.
2023-04-17 07:47:09 -04:00
..
private lib: remove some listeners 2022-02-09 12:38:27 +01:00
client.c client: add _send_error() method 2021-10-13 11:09:11 +03:00
client.h client: add _send_error() method 2021-10-13 11:09:11 +03:00
component-loader.c main.c: Add support for ifexits and nofail flags 2023-04-17 07:44:19 -04:00
component-loader.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
core.c core: add API to get virtual machine type 2022-06-02 12:34:16 -04:00
core.h core: add API to get virtual machine type 2022-06-02 12:34:16 -04:00
dbus.c dbus: fix crash when trying to reconnect 2022-07-13 13:39:10 +03:00
dbus.h lib: add new WpDbus API 2022-06-02 12:34:16 -04:00
defs.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
device.c device: add new wp_spa_device_managed_object_new_iterator API 2022-06-27 08:52:36 +00:00
device.h device: add new wp_spa_device_managed_object_new_iterator API 2022-06-27 08:52:36 +00:00
endpoint.c proxy: abort activation if error or destroyed 2021-12-13 08:37:07 -05:00
endpoint.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
error.c docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
error.h docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
event-dispatcher.c event-dispatcher: after-events hooks to get the trigger event info 2023-04-17 07:47:09 -04:00
event-dispatcher.h event-dispatcher: log event and hook names and chains 2023-04-17 07:47:09 -04:00
event-hook.c event-dispatcher: after-events hooks to get the trigger event info 2023-04-17 07:47:09 -04:00
event-hook.h event-dispatcher: after-events hooks to get the trigger event info 2023-04-17 07:47:09 -04:00
factory.c wp-factory: enumerate pw_factory objects 2021-10-19 05:46:46 +00:00
factory.h wp-factory: enumerate pw_factory objects 2021-10-19 05:46:46 +00:00
global-proxy.c proxy: abort activation if error or destroyed 2021-12-13 08:37:07 -05:00
global-proxy.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
iterator.c iterator: skip NULL pointers when iterating pointer arrays 2022-06-27 08:52:36 +00:00
iterator.h lib: Use #define instead of 'static const' for constants 2021-06-24 09:24:16 -04:00
link.c link: add WP_LINK_FEATURE_ESTABLISHED to track when a link is PAUSED/ACTIVE 2022-07-02 17:10:22 +03:00
link.h link: add WP_LINK_FEATURE_ESTABLISHED to track when a link is PAUSED/ACTIVE 2022-07-02 17:10:22 +03:00
log.c log: guard against NULL messages 2021-12-20 17:54:14 +02:00
log.h wp: rename debug.{h,c} to log.{h,c} 2021-05-06 15:50:07 +03:00
meson.build lib: initial version of WpEventDispatcher / WpEvent / WpEventHook 2023-04-17 07:47:09 -04:00
metadata.c metadata: use an object closure to avoid crashing if the core disconnects early 2022-11-30 14:34:33 +02:00
metadata.h metadata: use pw_impl_metadata for WpImplMetadata 2021-09-17 09:08:48 -04:00
module.c docs: impl-module: add since markers and improve the Lua doc appearence 2021-08-19 17:58:07 +03:00
module.h docs: impl-module: add since markers and improve the Lua doc appearence 2021-08-19 17:58:07 +03:00
node.c proxy: abort activation if error or destroyed 2021-12-13 08:37:07 -05:00
node.h docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
object-interest.c event-hook: use WP_TYPE_EVENT as the type for hook interest 2023-04-17 07:47:09 -04:00
object-interest.h lib: Use #define instead of 'static const' for constants 2021-06-24 09:24:16 -04:00
object-manager.c object-manager: copy the objects array in the iterator 2022-12-06 12:01:34 +02:00
object-manager.h docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
object.c object: abort queued transitions if current transition failed. 2022-02-21 09:37:44 -05:00
object.h object: add new _abort_activation API 2021-12-13 08:37:01 -05:00
plugin.c docs: Add brief descriptions to all functions 2021-06-02 17:38:34 +00:00
plugin.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
port.c lua: add Port.get_direction() + documentation for it 2021-06-30 19:51:21 +03:00
port.h docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
properties.c properties: improve documentation of _get_count() 2022-05-10 15:27:31 +03:00
properties.h properties: Add get count API 2022-03-24 06:59:39 +00:00
proxy-interfaces.c pipewire-object: change params-changed signal to take a string param name 2021-06-09 13:29:34 +03:00
proxy-interfaces.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
proxy.c registry: ensure in-progress activations are aborted when a global is removed 2021-12-22 12:51:37 +02:00
proxy.h proxy: abort activation if error or destroyed 2021-12-13 08:37:07 -05:00
session-item.c session-item: fix reference leak when getting properties 2021-07-02 11:59:42 -04:00
session-item.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
settings.c settings: use WpSpaJson to parse the settings 2023-04-17 07:47:09 -04:00
settings.h settings: use WpSpaJson to parse the settings 2023-04-17 07:47:09 -04:00
si-factory.c docs: Add brief descriptions to all functions 2021-06-02 17:38:34 +00:00
si-factory.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
si-interfaces.c si-interfaces: improve documentation on latest api additions 2022-05-10 15:16:09 +03:00
si-interfaces.h si-interfaces: improve documentation on latest api additions 2022-05-10 15:16:09 +03:00
spa-json.c spa-json: add _add_from_string() and _add_from_stringn() builder APIs 2023-04-17 07:47:09 -04:00
spa-json.h spa-json: add _add_from_string() and _add_from_stringn() builder APIs 2023-04-17 07:47:09 -04:00
spa-pod.c lib: assert non-NULL input for wp_spa_pod_equal 2022-01-21 13:55:26 +00:00
spa-pod.h spa-pod: add missing API sentinel 2022-01-21 13:59:03 +00:00
spa-type.c default-routes: save and restore iec958Codecs 2021-10-04 10:11:03 +00:00
spa-type.h docs: Add brief descriptions to all functions 2021-06-02 17:38:34 +00:00
state.c wp: make wp_get_xdg_state_dir() private 2021-08-19 10:06:37 +03:00
state.h state: remove support for groups and propagate save errors 2021-06-04 18:36:19 +03:00
transition.c lib: Introduce WpSettings API 2023-04-17 07:44:19 -04:00
transition.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
wp.c main: add --version flag to show current version 2022-07-29 12:37:44 +00:00
wp.h lib: initial version of WpEventDispatcher / WpEvent / WpEventHook 2023-04-17 07:47:09 -04:00
wpversion.h.in lib: add a version header 2020-06-02 18:26:40 +03:00