Date: Mon, 11 Oct 2021 18:03:47 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 245156] audio/pulseaudio: parse /dev/sndstat correctly to get device name Message-ID: <bug-245156-6497-SMbzvOAeNH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-245156-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-245156-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245156 --- Comment #30 from lightside <lightside@gmx.com> --- (In reply to lightside from comment #28) > I replied about this in comment #15, attachment #213025 [details], but if= there are no devices with ">" character in device's name, then it may be f= ine. or the output maybe a little cropped, e.g. for "pcm4: <Realtek (0x1168) <#> (Rear Analog 5.1/2.0)> (play/rec) default" line: "4: Realtek (0x1168) <#" instead of "4: Realtek (0x1168) <#> (Rear Analog 5.1/2.0)" (In reply to Tomasz "CeDeROM" CEDRO from comment #29) > Would that be possible to also attach device name to "USB Adudio" please? The algorithm in the patch just parses /dev/sndstat output for "pcm*: <#>" line(s) and outputs "*: #", it don't change the "#" part. I guess, possible= to differ based on "*" number, if there are devices with the same name. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245156-6497-SMbzvOAeNH>