Bug 256674 - audio/sndio: add a fix for incorrect channel number with OSS
Summary: audio/sndio: add a fix for incorrect channel number with OSS
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-multimedia (Nobody)
Depends on:
Reported: 2021-06-17 15:05 UTC by Roman Bogorodskiy
Modified: 2021-06-20 05:57 UTC (History)
1 user (show)

See Also:
riggs: maintainer-feedback+

proposed fix (1.60 KB, patch)
2021-06-17 15:05 UTC, Roman Bogorodskiy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Bogorodskiy freebsd_committer 2021-06-17 15:05:23 UTC
Created attachment 225894 [details]
proposed fix

The OSS backend in sndio doesn't properly handle trap values set by
sio_initpar(), making it fail. This breaks some applications with
sndio, e.g. mpg123.
More details provided here: https://sndio.org/arch/0138.html.
Upstream patch: 
Comment 1 Thomas Zander freebsd_committer 2021-06-20 05:56:58 UTC
Should be fixed with https://cgit.freebsd.org/ports/commit/?id=86fca7ddfbffb06348ecc2cadb98a506face2939.

Feel free to reopen otherwise.