Add default asound for pulse (#1538)

* Add default asound for pulse

* fix lint

* fix config
This commit is contained in:
Pascal Vizeli
2020-02-28 01:14:43 +01:00
committed by GitHub
parent 19ca836b78
commit c36a6dcd65
3 changed files with 36 additions and 4 deletions

View File

@@ -308,10 +308,14 @@ class DockerAddon(DockerInterface):
"bind": "/etc/pulse/client.conf",
"mode": "ro",
},
str(self.sys_audio.path_extern_data.joinpath("pulse.sock")): {
str(self.sys_audio.path_extern_pulse): {
"bind": "/run/pulse.sock",
"mode": "rw",
},
str(self.sys_audio.path_extern_asound): {
"bind": "/etc/asound.conf",
"mode": "ro",
},
}
)