mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
Meta: Use more aptly named variable for PC speaker configuration
This commit is contained in:
parent
dd8fa73da1
commit
dd0a25de4d
Notes:
sideshowbarker
2024-07-17 01:13:25 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/dd0a25de4d Pull-request: https://github.com/SerenityOS/serenity/pull/17798 Reviewed-by: https://github.com/kleinesfilmroellchen Reviewed-by: https://github.com/supercomputer7 ✅
1 changed files with 4 additions and 4 deletions
|
@ -172,9 +172,9 @@ else
|
|||
fi
|
||||
|
||||
if [ "$installed_major_version" -eq 5 ] && [ "$installed_minor_version" -eq 0 ]; then
|
||||
SERENITY_AUDIO_HW="-soundhw pcspk"
|
||||
SERENITY_AUDIO_PC_SPEAKER="-soundhw pcspk"
|
||||
else
|
||||
SERENITY_AUDIO_HW="-machine pcspk-audiodev=snd0"
|
||||
SERENITY_AUDIO_PC_SPEAKER="-machine pcspk-audiodev=snd0"
|
||||
fi
|
||||
|
||||
SERENITY_SCREENS="${SERENITY_SCREENS:-1}"
|
||||
|
@ -295,7 +295,7 @@ if [ -z "$SERENITY_MACHINE" ]; then
|
|||
-device isa-debugcon,chardev=stdout
|
||||
-device virtio-rng-pci
|
||||
$SERENITY_AUDIO_BACKEND
|
||||
$SERENITY_AUDIO_HW
|
||||
$SERENITY_AUDIO_PC_SPEAKER
|
||||
-device ac97,audiodev=snd0
|
||||
-device pci-bridge,chassis_nr=1,id=bridge1 -device $SERENITY_ETHERNET_DEVICE_TYPE,bus=bridge1
|
||||
-device i82801b11-bridge,bus=bridge1,id=bridge2 -device sdhci-pci,bus=bridge2
|
||||
|
@ -411,7 +411,7 @@ $SERENITY_EXTRA_QEMU_ARGS
|
|||
-device isa-debugcon,chardev=stdout
|
||||
-device virtio-rng-pci
|
||||
$SERENITY_AUDIO_BACKEND
|
||||
$SERENITY_AUDIO_HW
|
||||
$SERENITY_AUDIO_PC_SPEAKER
|
||||
$SERENITY_BOOT_DRIVE
|
||||
"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue