From 3e7936fd0168a99ee6bad2b061b27b7b0be7d046 Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Mon, 17 Jul 2023 14:30:05 +0200 Subject: [PATCH] Replace the dropped pactl with amixer to manipulate audio levels. --- tests/applications/gnome-panel/volumebar.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/applications/gnome-panel/volumebar.pm b/tests/applications/gnome-panel/volumebar.pm index c755c9fb..7917b925 100644 --- a/tests/applications/gnome-panel/volumebar.pm +++ b/tests/applications/gnome-panel/volumebar.pm @@ -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");