[Bug 208968] audio/portaudio: support hw.snd.default_unit sysctl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 22 05:27:53 UTC 2016


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

            Bug ID: 208968
           Summary: audio/portaudio: support hw.snd.default_unit sysctl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: shurd at FreeBSD.org
                CC: koalative at gmail.com
                CC: koalative at gmail.com
             Flags: maintainer-feedback?(koalative at gmail.com)

Created attachment 169553
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169553&action=edit
This patch reads the sysctl and correctly translates /dev/dspX to /dev/dsp.

If the hw.snd.default_unit is set to anything except zero, /dev/dsp0 is not
available to programs using portaudio, since it assumes that /dev/dsp and
/dev/dsp0 are the same device.

This patch reads the sysctl and correctly translates /dev/dspX to /dev/dsp.

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


More information about the freebsd-ports-bugs mailing list