1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

Replace the dropped pactl with amixer to manipulate audio levels.

This commit is contained in:
Lukas Ruzicka 2023-07-17 14:30:05 +02:00
parent c322924826
commit 3e7936fd01

View File

@ -27,17 +27,17 @@ sub run {
menu_launch_type("terminal");
assert_screen("apps_run_terminal");
# Set the volume to 0%
type_safely('pactl set-sink-volume @DEFAULT_SINK@ 0%');
type_safely('amixer -D pipewire sset Master 0%');
send_key('ret');
# Check that it worked
check_volume("zero");
# Set the volume to 50%
type_safely('pactl set-sink-volume @DEFAULT_SINK@ 50%');
type_safely('amixer -D pipewire sset Master 50%');
send_key('ret');
# Check that it worked
check_volume("fifty");
# Set the volume to 100%
type_safely('pactl set-sink-volume @DEFAULT_SINK@ 100%');
type_safely('amixer -D pipewire sset Master 100%');
send_key('ret');
# Check that it worked
check_volume("hundred");