Page MenuHomeFreeBSD

audio/sndio: Fix format selection
ClosedPublic

Authored by tobik on Mar 28 2017, 1:33 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Tue, May 14, 1:44 PM
Unknown Object (File)
Sat, Apr 27, 7:26 PM
Unknown Object (File)
Thu, Apr 25, 1:04 PM
Unknown Object (File)
Apr 19 2024, 11:06 AM
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.