From 413ba888e12d74beaa4dc70ede133771df7f85b8 Mon Sep 17 00:00:00 2001 From: Arkadiusz Cholewinski Date: Thu, 15 May 2025 11:27:06 +0200 Subject: [PATCH] FIX: Set SOF_ALSA_TOOL to alsa globally Set SOF_ALSA_TOOL to default value (alsa) globally. Signed-off-by: Arkadiusz Cholewinski --- case-lib/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/case-lib/lib.sh b/case-lib/lib.sh index 159d4da1..5b381eda 100644 --- a/case-lib/lib.sh +++ b/case-lib/lib.sh @@ -759,6 +759,7 @@ func_lib_check_pa() # before using 'aplay_opts' or 'arecord_opts' function. # Default is SOF_ALSA_TOOL='alsa' +: "${SOF_ALSA_TOOL:="alsa"}" # Function to extract the card number and device number from $dev option (e.g., hw:0,10) parse_audio_device() { @@ -791,7 +792,6 @@ initialize_audio_params() type=$(func_pipeline_parse_value "$idx" type) snd=$(func_pipeline_parse_value "$idx" snd) - : "${SOF_ALSA_TOOL:="alsa"}" if [[ "$SOF_ALSA_TOOL" = "tinyalsa" ]]; then parse_audio_device "$dev" fi