Page MenuHomeFreeBSD

audio/sndio: Fix format selection
ClosedPublic

Authored by tobik on Mar 28 2017, 1:33 PM.
Tags
None
Referenced Files
F84446717: D10164.id26729.diff
Thu, May 23, 11:48 PM
F84446708: D10164.id26732.diff
Thu, May 23, 11:48 PM
F84446434: D10164.id.diff
Thu, May 23, 11:44 PM
Unknown Object (File)
Thu, May 23, 12:40 PM
Unknown Object (File)
Tue, May 21, 4:51 PM
Unknown Object (File)
Sun, May 19, 4:47 AM
Unknown Object (File)
Wed, May 15, 6:35 PM
Unknown Object (File)
Wed, May 15, 6:29 PM
Subscribers
None

Details

Summary
With incompletely specified parameters the OSS backend will always
fallback to s16le for no good reason.  Replace them with default
values, so the format table lookup can work.  This should fix playback
of 24-bit/32-bit files in e.g. cmus without a running sndiod.

Approved by:	??? (mentor)
Differential Revision:	https://reviews.freebsd.org/D?????
Test Plan

poudriere testport 10.3/i386 ok
poudriere testport 11.0/amd64 ok

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 8333
Build 8600: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 28 2017, 2:37 PM
This revision was automatically updated to reflect the committed changes.