mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
tweaks
This commit is contained in:
parent
892572ec7f
commit
a295ba44ba
2
inxi
2
inxi
|
@ -1040,6 +1040,8 @@ get_audio_data()
|
||||||
cards[audioCard]++
|
cards[audioCard]++
|
||||||
while (getline && !/^$/) {
|
while (getline && !/^$/) {
|
||||||
if (/driver in use/) {
|
if (/driver in use/) {
|
||||||
|
|
||||||
|
gsub(/^ +| +$/, "", audioCard)
|
||||||
drivers[audioCard] = drivers[audioCard] gensub(/(.*): (.*)/,"\\2","g",$0) ""
|
drivers[audioCard] = drivers[audioCard] gensub(/(.*): (.*)/,"\\2","g",$0) ""
|
||||||
}
|
}
|
||||||
if (/I\/O/) {
|
if (/I\/O/) {
|
||||||
|
|
Loading…
Reference in a new issue