mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-16 20:44:31 +00:00
Replace the dropped pactl with amixer to manipulate audio levels.
This commit is contained in:
parent
c322924826
commit
3e7936fd01
@ -27,17 +27,17 @@ sub run {
|
|||||||
menu_launch_type("terminal");
|
menu_launch_type("terminal");
|
||||||
assert_screen("apps_run_terminal");
|
assert_screen("apps_run_terminal");
|
||||||
# Set the volume to 0%
|
# 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');
|
send_key('ret');
|
||||||
# Check that it worked
|
# Check that it worked
|
||||||
check_volume("zero");
|
check_volume("zero");
|
||||||
# Set the volume to 50%
|
# 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');
|
send_key('ret');
|
||||||
# Check that it worked
|
# Check that it worked
|
||||||
check_volume("fifty");
|
check_volume("fifty");
|
||||||
# Set the volume to 100%
|
# 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');
|
send_key('ret');
|
||||||
# Check that it worked
|
# Check that it worked
|
||||||
check_volume("hundred");
|
check_volume("hundred");
|
||||||
|
Loading…
Reference in New Issue
Block a user