Skip to content

Commit fdd7ae4

Browse files
gbarkadiuszcgturner1
authored andcommitted
FIX: Set SOF_ALSA_TOOL to alsa globally
Set SOF_ALSA_TOOL to default value (alsa) globally. Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
1 parent c7bb56c commit fdd7ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

case-lib/lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,7 @@ func_lib_check_pa()
759759
# before using 'aplay_opts' or 'arecord_opts' function.
760760
# Default is SOF_ALSA_TOOL='alsa'
761761

762+
: "${SOF_ALSA_TOOL:="alsa"}"
762763

763764
# Function to extract the card number and device number from $dev option (e.g., hw:0,10)
764765
parse_audio_device() {
@@ -791,7 +792,6 @@ initialize_audio_params()
791792
type=$(func_pipeline_parse_value "$idx" type)
792793
snd=$(func_pipeline_parse_value "$idx" snd)
793794

794-
: "${SOF_ALSA_TOOL:="alsa"}"
795795
if [[ "$SOF_ALSA_TOOL" = "tinyalsa" ]]; then
796796
parse_audio_device "$dev"
797797
fi

0 commit comments

Comments
 (0)