Commit Graph

10 Commits

Author SHA1 Message Date
George Kiagiadakis
700f55670a simple-policy: match the requested role to a stream in find_endpoint
... and simplify some code there
2019-07-09 13:20:39 -04:00
Julian Bouzas
ab55116653 simple-policy: handle both input and output clients 2019-06-28 13:04:28 -04:00
Julian Bouzas
5429d57cb1 endpoint-link: make contruction async 2019-06-28 12:33:00 -04: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
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
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
aa5b16f8df module-mixer: implement the "Mixer/Audio" endpoint provider
This provides high level volume controls for the AGL audiomixer
binding and the applications using it.
2019-06-18 19:58:42 +03:00
George Kiagiadakis
dcbe3a6f10 modules: move the "selected" endpoint logic to the simple-policy module and improve it
We now have always a "selected" endpoint for each direction (source, sink)
that is picked as the first available endpoint at startup,
and it changes automatically if the currently selected endpoint is removed
2019-06-18 19:44:28 +03:00
George Kiagiadakis
ecad76d995 policy: consume floating reference of GVariant in _find_endpoint() 2019-06-18 17:41:34 +03:00
George Kiagiadakis
a93b47690e modules: re-implement the simple policy module using WpPolicy 2019-06-13 14:57:59 +03:00