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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 29 06:32:56 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245156

            Bug ID: 245156
           Summary: audio/pulseaudio: parse /dev/sndstat correctly to get
                    device name
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome at FreeBSD.org
          Reporter: henry.hu.sh at gmail.com
          Assignee: gnome at FreeBSD.org
             Flags: maintainer-feedback?(gnome at FreeBSD.org)

Created attachment 212817
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212817&action=edit
patch to fix sndstat parsing

pulseaudio's oss module parses /dev/sndstat to get device name of each device.
However, it cannot parse FreeBSD's sndstat correctly. As a result, devices are
named "/dev/dspN" under FreeBSD, which is kind of ugly.

This patch changes the parsing logic to correctly handle sndstat produced by
FreeBSD OSS implementation. As a result, device names can be correctly obtained
by pulseaudio and shown in control panels.

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


More information about the freebsd-gnome mailing list