diff options
Diffstat (limited to 'remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt')
-rwxr-xr-x | remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt b/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt index 2f3a9403..633f80a2 100755 --- a/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt +++ b/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt @@ -456,6 +456,9 @@ if true; then fi fi + SOUND_CARD_INDEX="$(grep -E -o '[0-9]+' <<<$SOUND_CARD_INDEX)" + echo "Detected sound card index is: $SOUND_CARD_INDEX" + # Adjust sound volume (playback)... Random mixer names we have encountered during testing echo "Setting up volume..." amixer -q -c "$SOUND_CARD_INDEX" sset 'Master' "$VOL" unmute |