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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Oct 2021 18:53:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245156

--- Comment #31 from Trenton Schulz <trueos@norwegianrockcat.com> ---
(In reply to lightside from comment #28)

I moved my ~/.config/pulse to ~/.config/pulse.bak, and it did make a difference
(sort of).

It appears that I can access /dev/dsp10, but it has the wrong label. The label
is 0: ATI R6xx (HDMI), which is the same label for /dev/dsp0, but if I do a 
pacmd set-default-source 11 (i.e., /dev/dsp10 from list-sources)

The pavucontrol shows that the last "0: ATI R6xx (HDMI)" is now the default.
Similarly, this also works in apps like Chromium (with Pulse enabled) and
Firefox.

So, I can use the microphone, which is good, but the label is wrong, which is
bad. That's fine for the short term, but likely to lead to a mistake in the
future.

@swills, I guess I could try your patch and see if the labels are correct with
your patch.

@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?

-- 
You are receiving this mail because:
You are the assignee for the bug.