Commit Graph

6 Commits

Author SHA1 Message Date
Julian Bouzas
7bc59afd81 m-default-routes: log error message when failed to get current routes 2021-05-20 10:51:49 -04:00
Julian Bouzas
e1917239f3 m-default-routes: use sync API to enum available routes 2021-05-18 10:00:24 -04:00
Julian Bouzas
c158dfc020 m-default-routes: return if default routes for a device are not found
Avoids unneeded assertion error messages.
2021-03-15 07:52:57 -04:00
Julian Bouzas
6e716c9baa m-default-routes: relax some warning logs to debug 2021-03-15 07:52:57 -04:00
Arnaud Ferraris
bf72973db4 module-default-routes: store/restore route properties
This commit enhance `module-default-routes` so that the route properties
(such as volume, channel map...) are saved on modification, and re-applied
each time a particular route is selected.
2021-03-02 18:17:56 +01:00
Arnaud Ferraris
a499e02ad9 modules: add module-default-routes for storing/restoring routes
This commit adds a WirePlumber module which stores the current route for
a given device, and implements the necessary interfaces to restore those
on startup.

The routes are stored as an array of objects in JSON format.

Please note that actually restoring routes on startup is not done by this
module but will be implemented separately in a future commit.
2021-03-02 18:17:56 +01:00