summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJonathan Bauer2018-04-16 14:09:58 +0200
committerJonathan Bauer2018-04-16 14:09:58 +0200
commitc0718a90404573f23dfb00d52df67c664a8b189d (patch)
tree80a7d8613dee0ea4d8cb6299f0bb4f5e8a99bf1c /core
parent[vbox-src] cleanup vbox logging include (diff)
downloadmltk-c0718a90404573f23dfb00d52df67c664a8b189d.tar.gz
mltk-c0718a90404573f23dfb00d52df67c664a8b189d.tar.xz
mltk-c0718a90404573f23dfb00d52df67c664a8b189d.zip
[vbox-src] force audio driver to alsa
Diffstat (limited to 'core')
-rwxr-xr-xcore/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/includes/finalize_machine_config.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/includes/finalize_machine_config.inc b/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/includes/finalize_machine_config.inc
index 084b777f..224a2b96 100755
--- a/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/includes/finalize_machine_config.inc
+++ b/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/includes/finalize_machine_config.inc
@@ -118,7 +118,10 @@ finalize_machine_config() {
add_node "/VirtualBox/Machine/Hardware/USB/Controllers" "Controller" "name=xHCI" "type=XHCI"
fi
- cp $TMPCONFIG /tmp/vbox-last-config
+ # EXPERIMENTAL: ALSA-driven sound is buggy as of vbox 5.2.8
+ # we still force alsa as we only have this driver in the current minilinux
+ set_attr "/VirtualBox/Machine/Hardware/AudioAdapter" "driver" "ALSA"
+
cp $TMPCONFIG $VBOX_MACHINE_CONFIG
}