George Kiagiadakis
2a397faa30
softdsp-endpoint/dsp: actually notify controls on the endpoint, not the dsp object
2019-07-09 13:20:39 -04:00
George Kiagiadakis
7618b8b082
alsa-udev/softdsp-endpoint: make the stream names & count configurable
2019-07-09 13:20:39 -04:00
George Kiagiadakis
4b65593ee1
softdsp-endpoint: move the selected control in the endpoint and simplify the id encoding
2019-07-09 13:20:39 -04:00
George Kiagiadakis
6e5905f6f3
softdsp-endpoint: dont't add the stream-id field on the description of the master controls
...
This is currently the documented way of describing controls
that have an effect on all streams
2019-07-09 13:20:39 -04:00
George Kiagiadakis
afcf9f4f0c
softdsp-endpoint: actually register the streams
2019-07-09 13:20:39 -04:00
Julian Bouzas
7d1e860b7d
softdsp-endpoint: change the control value properly
2019-07-09 13:20:39 -04:00
Julian Bouzas
f28971ebf8
softdsp-endpoint: add multiple streams support
2019-07-09 13:20:39 -04:00
George Kiagiadakis
d6e64d2739
Merge branch 'link-fix' into 'master'
...
simple-endpoint-link: dont link already linked ports
See merge request gkiagia/wireplumber!17
2019-07-08 12:27:21 +00:00
Julian Bouzas
51a1d9a36f
simple-endpoint-link: dont link already linked ports
2019-07-05 12:21:57 -04:00
George Kiagiadakis
ccc88b39c3
Merge branch 'async-endpoint-links' into 'master'
...
Async endpoint links
See merge request gkiagia/wireplumber!15
2019-07-01 12:54:29 +00:00
Julian Bouzas
ab55116653
simple-policy: handle both input and output clients
2019-06-28 13:04:28 -04:00
Julian Bouzas
6f67682367
simple-endpoint: handle both input and output directions
2019-06-28 13:03:54 -04:00
Julian Bouzas
cf0e68a0f4
factory: remove unneeded sync construction API
2019-06-28 12:34:03 -04:00
Julian Bouzas
5429d57cb1
endpoint-link: make contruction async
2019-06-28 12:33:00 -04:00
George Kiagiadakis
4ed5e30d9d
config: enhance the configuration file with comments
2019-06-28 13:32:45 +03:00
George Kiagiadakis
7c7c65de5a
simple-policy: allow configuring the default audio devices via module arguments
2019-06-28 13:32:07 +03:00
George Kiagiadakis
1e7bcd8943
config: ensure that both ABI and MODULE are specified before the properties
...
If we have properties, strtok will return strings from there as tokens
and the error will appear later as we will attempt to parse an incomplete
GVariant. It is better to catch this early so that we can print a more
useful error message.
2019-06-27 18:30:11 +03:00
George Kiagiadakis
22699a4b21
config: allow module property blocks to span multiple lines
...
So now we can do:
---
load-module C foo {
"property": <"value">
}
---
The starting brace is still required to be on the same line
as the load-module.
2019-06-27 18:26:05 +03:00
George Kiagiadakis
f9f7f6e271
config: implement reading properties for modules from the config file
...
Properties are expected to be a GVariant a{sv} dictionary,
specified in the GVariant text format:
https://developer.gnome.org/glib/stable/gvariant-text.html
2019-06-27 18:10:21 +03:00
George Kiagiadakis
d02bfcd2aa
config: skip empty lines and comments (starting with #)
2019-06-27 17:33:04 +03:00
George Kiagiadakis
2f29043b13
Merge branch 'unregister-fix' into 'master'
...
Unregister fixes
See merge request gkiagia/wireplumber!14
2019-06-27 12:17:39 +00:00
Julian Bouzas
e73553088b
proxy: remove unneeded destroy signal
2019-06-27 07:23:20 -04:00
Julian Bouzas
3207811795
modules: disconnect the signals when the endpoints are destroyed
2019-06-26 12:47:51 -04:00
Julian Bouzas
7aded3a8c9
modules: unregister endpoints on global_removed instead of proxy destroyed
2019-06-26 12:37:19 -04:00
Julian Bouzas
495a74d0e6
endpoint: remove unneeded ref/unref
2019-06-26 12:36:59 -04:00
Julian Bouzas
ded3106efc
core: handle global references in a simpler way
2019-06-26 12:35:55 -04:00
George Kiagiadakis
6177b7482e
softdsp-endpoint: fix compiler warnings
2019-06-26 16:07:24 +03:00
George Kiagiadakis
33391f4246
simple-policy: select by default the first non-loopback device
...
This is a bit of a hack, temporarily needed for AGL.
2019-06-26 13:33:50 +03:00
George Kiagiadakis
d6f6c3d677
softdsp-endpoint: give a proper name to the endpoint based on alsa properties
2019-06-26 12:51:22 +03:00
George Kiagiadakis
39b5bc8b15
Merge branch 'async-endpoints' into 'master'
...
Async endpoints
See merge request gkiagia/wireplumber!13
2019-06-26 09:22:52 +00:00
George Kiagiadakis
3e24856263
modules: add new module to manage client permissions
...
Currently this will just grant full access to all clients.
A future version will refine that to grant access to specific
objects only.
2019-06-26 12:11:38 +03:00
Julian Bouzas
ff2420b70a
modules: add support for multiple channels linking
2019-06-24 14:27:52 -04:00
Julian Bouzas
be6256fb0a
modules: make endpoint creation async
2019-06-24 11:17:43 -04:00
Julian Bouzas
4333c94531
endpoint: add async initable interface boilerplate
2019-06-24 10:52:02 -04:00
Julian Bouzas
6fbf2527fb
factory: add async support
2019-06-24 10:51:40 -04:00
George Kiagiadakis
f412166315
remote-pipewire: emit global-added for all proxy types
2019-06-24 17:20:42 +03:00
George Kiagiadakis
661010a36b
Merge branch 'registry' into 'master'
...
Registry
See merge request gkiagia/wireplumber!12
2019-06-24 10:25:41 +00:00
George Kiagiadakis
1f82868e0c
remote-pipewire: do not leak the GSource
2019-06-24 11:10:21 +03:00
Julian Bouzas
d2b8337045
modules: use the registry from WpRemotePipewire
2019-06-20 12:59:34 -04:00
Julian Bouzas
d84217c1e9
remote-pipewire: add registry listener
2019-06-20 12:55:32 -04:00
Julian Bouzas
83394022cb
proxy: don't remove the listener on destruction as it is not needed
2019-06-20 11:59:51 -04:00
Julian Bouzas
236ea5e0f2
proxy: add wp_proxy_sync API and DONE signal
2019-06-20 11:59:51 -04:00
George Kiagiadakis
1e6c7488bd
proxy: avoid crashing when the WpProxy is unrefed in the "destroyed" signal handler
2019-06-20 18:55:50 +03:00
George Kiagiadakis
0c9d6e8282
meson: add option to disable gobject introspection
...
Fixes #1
2019-06-20 15:48:29 +03:00
George Kiagiadakis
f2ac3cc6d9
modules: do not leak references to the endpoints at their construction time
2019-06-20 13:09:38 +03:00
George Kiagiadakis
2da44762df
m-simple-policy: find_endpoint: ref the endpoint only if it's not NULL
2019-06-20 13:00:16 +03:00
George Kiagiadakis
d236fea23d
m-mixer: downgrade warnings about no backend to debug messages
...
This is a situation that always happens on startup, so let's not
spam with warnings
2019-06-20 13:00:16 +03:00
George Kiagiadakis
ee00a24688
core: destroy globals in _dispose() so that the global-removed signal is dispatched
...
signal emission apparently does not work in _finalize()
Fixes some critical warnings from remote-endpoint.c because disconnection
from the destroyed endpoints did not happen
2019-06-20 13:00:16 +03:00
George Kiagiadakis
643d3d61bc
Merge branch 'proxy-global-id' into 'master'
...
Proxy global id
See merge request gkiagia/wireplumber!11
2019-06-19 13:52:26 +00:00
Julian Bouzas
601749d721
audio-softdsp-endpoint: set module instead of core in the module data
2019-06-19 09:13:02 -04:00