diff --git a/inxi b/inxi index 68b0626..27a2f16 100755 --- a/inxi +++ b/inxi @@ -1374,7 +1374,7 @@ get_audio_data() } }' $DIR_ASOUND_DEVICE ) ) fi - IFS="$ORIGINAL_IFS" + # alsa usb @@ -1394,7 +1394,7 @@ get_audio_data() for( i=7; i/dev/null |\ # grep $( cat $usb_proc_file/usbid ) |\ @@ -1402,7 +1402,7 @@ get_audio_data() A_AUDIO_DATA=( "${A_AUDIO_DATA[@]}" "$usb_data,snd-usb-audio" ) fi done - + IFS="$ORIGINAL_IFS" # handle cases where card detection fails, like in PS3, where lspci gives no output, or headless boxes.. if [[ ${#A_AUDIO_DATA[@]} -eq 0 ]];then A_AUDIO_DATA[0]='Failed to Detect Sound Card!'