[Bug 245156] audio/pulseaudio: parse /dev/sndstat correctly to get device name

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Oct 2021 13:23:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245156

--- Comment #32 from lightside <lightside@gmx.com> ---
Created attachment 228663
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228663&action=edit
The files/patch-src_modules_oss_oss-util.c to test

(In reply to Trenton Schulz from comment #31)
> @lightside, should I perhaps make a new bug for this? Given that this one is
> already closed, I'm not sure how useful it is to keep adding comments on this one

I think, if removal of files/patch-src_modules_oss_oss-util.c fixes your issue
(as in comment #23), then there is some kind of regression. Personally, I
proposed this patch for PulseAudio 13.0 version, while 14.2 currently. The
FreeBSD version also changed.

Could you please replace patch-src_modules_oss_oss-util.c with attached one and
check if it works? I just created a patch between 14.2 and 15.0 version for
src/modules/oss/oss-util.c file, based on following commits:
https://cgit.freebsd.org/ports/commit/audio/pulseaudio/files/patch-src_modules_oss-util.c?id=4ba786e49ded8d06cd62b603daf9951de5f88f1d
https://github.com/pulseaudio/pulseaudio/commit/ef8fa7c99752e0c404039a4c0f0c188d7033c431#diff-6c30591ff7b76f1d351f192894d3a1c2ade897dfe3f077af6cea7108ad1f6dbd
https://github.com/pulseaudio/pulseaudio/commit/0f70a6f519fa0c499d1bbc194ea8be5195033c3e

-- 
You are receiving this mail because:
You are on the CC list for the bug.