Commit graph

663 commits

Author SHA1 Message Date
Julian Bouzas
469c35edc8 m-monitor: remove monitor prefix from dbus device reservation API 2020-05-26 11:29:18 -04:00
Julian Bouzas
ac87822d6a m-monitor: rename device reservation data API to reserve device 2020-05-26 11:28:51 -04:00
Julian Bouzas
bc385d24bd m-monitor: rename node reservation data API to reserve node and move it to a separated file 2020-05-26 10:44:16 -04:00
Julian Bouzas
3ea183a53d m-jack-device: port to WpPlugin 2020-05-25 17:04:25 -04:00
Julian Bouzas
0d93ccff8c m-monitor: port to WpPlugin 2020-05-25 17:04:25 -04:00
George Kiagiadakis
666cd10b6d algorithms: cleanup unused code 2020-05-25 19:06:52 +03:00
George Kiagiadakis
162c1d4574 session: fix the default-endpoint prop
* Use a direction instead of a string prop id
* Emit default-endpoint-changed again
* Get rid of the useless virtual methods
2020-05-25 18:56:21 +03:00
George Kiagiadakis
8a94937b2a proxy: refactor how PARAM_Props/PropInfo are handled
+ rename FEATURE_CONTROLS to FEATURE_PROPS
+ add accessor for the standard spa_param_info (info->params)
+ hide the low-level params API that nobody uses
2020-05-25 18:54:41 +03:00
George Kiagiadakis
b8d1f40111 iterator: add a generic GPtrArray iterator implementation 2020-05-25 18:54:41 +03:00
George Kiagiadakis
1f2e2b7fc4 debug: add mechanism to debug spa pods
-> wp_trace_boxed (WP_TYPE_SPA_POD, pod, "some message");
2020-05-25 18:54:41 +03:00
Julian Bouzas
93ce770052 config-policy: handle the endpoint node target property when finding a target 2020-05-21 09:47:56 -04:00
Julian Bouzas
5af66bb547 modules: copy node target property in adapter and simple-node-endpoint 2020-05-21 09:47:56 -04:00
Julian Bouzas
bf4116f7d2 config-endpoint: create extra si-monitor-endpoint if enable-monitor is true 2020-05-21 09:47:56 -04:00
Julian Bouzas
ab1d8aafde modules: add new si-monitor-endpoint module 2020-05-21 09:47:56 -04:00
Julian Bouzas
ee4e40ba1e modules: add 'monitor' context when getting ports in adapter and simple-node-endpoint 2020-05-21 09:47:56 -04:00
Julian Bouzas
d5f167b7db modules: fix small direction issue when getting the ports in adapter and simple-node-endpoint 2020-05-21 09:47:56 -04:00
Julian Bouzas
2660e13c4a config: enable monitor ports on audio sinks 2020-05-21 09:47:56 -04:00
George Kiagiadakis
b807b666a0 debug: don't crash if an object is NULL in wp_*_object() and point it out in the log
by using G_TYPE_NONE (== 1), we can pass this in the log handler
to point out the fact that we expected something but it's null

As a bonus, a null object always gets printed in red because that's
the first color in object_colors
2020-05-20 18:27:09 +03:00
George Kiagiadakis
a54ff34863 m-client-permissions: port to WpPlugin 2020-05-20 18:26:36 +03:00
George Kiagiadakis
7428d20c94 proxy: add a wp_proxy_get_property() method to get a single pw property 2020-05-20 18:08:35 +03:00
George Kiagiadakis
b0d17413dc modules: remove obsolete module-pipewire file 2020-05-20 17:29:39 +03:00
Julian Bouzas
3fa1334113 docs: update configuration.md 2020-05-20 13:14:53 +03:00
George Kiagiadakis
29886ccf74 docs: improve documentation 2020-05-19 17:54:10 +03:00
Julian Bouzas
1f4d88b915 configuration: fix memleak when reloading 2020-05-19 10:18:51 -04:00
Julian Bouzas
c6f24fac8a main: disconnect core before exiting
Disconnecting core finishes all pending tasks, which is needed in order to avoid
possible leaks if some tasks are still pending when exiting.
2020-05-19 10:18:51 -04:00
Julian Bouzas
d9ffc1c318 core: finish all pending tasks when core proxy is destroyed 2020-05-19 10:18:51 -04:00
Julian Bouzas
bd0218c3ee tests: base-test-fixure: make sure core is done before destroying it 2020-05-19 10:18:51 -04:00
Julian Bouzas
522d32224e modules: config-policy: rename link-activated signal to link-created 2020-05-19 10:18:51 -04:00
Julian Bouzas
bb82b0832e tests: config-policy: make sure the link is activated before stopping 2020-05-19 10:18:51 -04:00
Julian Bouzas
e1686eb169 dbus-device-reservation: fix memleak when completing release 2020-05-19 10:18:51 -04:00
Julian Bouzas
6a73179d57 si-standard-link: fix memleak when creating links 2020-05-19 10:18:51 -04:00
Julian Bouzas
1acdb2a89b si-adapter: use a different g_autoptr for port_format 2020-05-19 10:18:51 -04:00
Julian Bouzas
b2431132ca si-convert: fix memleak when getting the node properties 2020-05-19 10:18:51 -04:00
Julian Bouzas
24cfa053eb object-manager: release interest when destroying iterator 2020-05-19 10:18:51 -04:00
Julian Bouzas
895e5d3f33 tests: spa-props: fix memleaks shown with valgrind 2020-05-19 10:18:51 -04:00
George Kiagiadakis
49ae7d3c7a ci: actually create the "public" directory in the pages job 2020-05-18 23:21:23 +03:00
George Kiagiadakis
e1c92b387c ci: fix exporting documentation to gitlab pages 2020-05-18 23:17:37 +03:00
George Kiagiadakis
3ef5f409ad ci: export documentation on gitlab pages 2020-05-18 22:39:15 +03:00
George Kiagiadakis
91c35b2e0d ci: switch to ci-templates and enable running tests 2020-05-18 17:26:45 +03:00
George Kiagiadakis
3c8d7da879 Merge remote-tracking branch 'origin/master' into next 2020-05-18 10:25:03 +03:00
George Kiagiadakis
79e9bcd8b7 meson: bump project version number 2020-05-18 10:22:45 +03:00
George Kiagiadakis
653fea826f m-session-settings: implement storing and loading default endpoint user settings 2020-05-16 12:54:36 +03:00
George Kiagiadakis
49c6d00e07 session: add a _get_name() method 2020-05-16 12:54:36 +03:00
George Kiagiadakis
27064d78f8 modules: initial version of module-session-settings 2020-05-16 12:54:36 +03:00
Julian Bouzas
f78ca66922 config-policy: remove keep property and never unlink endpoints 2020-05-15 08:28:58 -04:00
Julian Bouzas
e1b85e1fe4 session-item: check for core before adding closure if proxy is destroyed 2020-05-15 08:21:49 -04:00
Julian Bouzas
e481c998a4 si-standard-link: check if stream parent is valid before acquisition 2020-05-15 08:21:49 -04:00
George Kiagiadakis
4d965b3b39 config-policy: shorten some code 2020-05-14 18:42:43 +03:00
George Kiagiadakis
a2b84e27d1 session: rename the default source/sink controls to have shorter names
+ use a more correct naming scheme to match the one from Spa
+ remove the default video source, since we now use a different
 session for video
2020-05-14 17:31:24 +03:00
George Kiagiadakis
5c8a462a4a debug: use levels 1-5 in WIREPLUMBER_DEBUG
This makes WIREPLUMBER_DEBUG behave just like PIPEWIRE_DEBUG.
Same levels, same syntax, easier for users.

ERROR & CRITICAL are always printed, as they should; there is no point
in disabling them, since:
- ERRORs are always fatal and should never ever happen
- CRITICALs are assertion failures and indicate bugs that need to be fixed
2020-05-14 17:00:55 +03:00