From c1e2bc61c7de86241fcc3b6f66b7d4430bf27ced Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 7 Jul 2015 16:39:22 +0200 Subject: [vmware] Only force sound card if default isn't card 0 --- .../modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote/modules') diff --git a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include index 8767d67f..7788e6a6 100644 --- a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include +++ b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/run-virt.include @@ -471,7 +471,7 @@ esac sound="es1371" # set sound card explicitly if there is more than one card in the host system -if [ -n "$SOUND_CARD_INDEX" -a -n "$SOUND_CARD_COUNT" ] && [ "$SOUND_CARD_COUNT" -gt 1 ]; then +if [ -n "$SOUND_CARD_INDEX" ] && [ "$SOUND_CARD_INDEX" -ne 0 ]; then sound_fileName="sound.fileName = \"sysdefault:CARD=${SOUND_CARD_INDEX}\" sound.autodetect = \"FALSE\"" else -- cgit v1.2.3-55-g7522