[Bug 226101] Patch for audio/rtaudio

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 21 23:55:35 UTC 2018


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

            Bug ID: 226101
           Summary: Patch for audio/rtaudio
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri at freebsd.org
          Reporter: FreeBSD at ShaneWare.Biz
             Flags: maintainer-feedback?(yuri at freebsd.org)
          Assignee: yuri at freebsd.org

Created attachment 190877
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190877&action=edit
additional patch for audio/rtaudio

While starting a new port (audio/vcvrack), I found some changes to rtaudio were
needed.

As the maintainer of devel/godot (which has the rtaudio files bundled) I needed
to adjust the OSS support to get it to work. To get godot OSS audio working I
changed rtaudio to open /dev/dsp instead of /dev/mixer. This change has been
part of the godot port for almost 1.5 years without any bug reports.

With vcvrack I needed to make the same changes to audio/rtaudio and also found
another issue. The available formats is only listing input formats, this means
that the output channels did not have any supported formats and vcvrack would
only allow connections to channels with supported formats. This leads to only
being able to connect to an input channel when it is trying to output sound.

To get this working I changed the format tests to consider both input and
output formats, so the format list becomes a combination of both input and
output formats. This leads to every audio port being listed and got sound
output working.

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


More information about the freebsd-ports-bugs mailing list