wireplumber/tests/wplua/scripts
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
..
lib wplua: enable the use of require() to load lua libraries from scripts/lib 2022-04-23 20:14:59 +03:00
async-activation.lua tests: wplua: add a test for asynchronous script activation 2022-04-23 20:14:59 +03:00
event-hooks.lua event-dispatcher: log event and hook names and chains 2023-04-17 07:47:09 -04:00
json.lua tests: Add tests for JSON array of strings 2023-04-17 07:44:19 -04:00
monitor-rules.lua tests/lua: test monitor configuration rules code 2021-02-13 11:55:00 +02:00
pod.lua spa-pod: add support for custom Id properties 2021-09-21 12:29:54 -04:00
require.lua wplua: enable the use of require() to load lua libraries from scripts/lib 2022-04-23 20:14:59 +03:00
settings.lua settings: use WpSpaJson to parse the settings 2023-04-17 07:47:09 -04:00