Page MenuHomeFreeBSD

audio/sndio: Fix format selection
ClosedPublic

Authored by tobik on Mar 28 2017, 1:33 PM.
Tags
None
Referenced Files
F150858559: D10164.id26732.diff
Sat, Apr 4, 1:17 PM
F150808570: D10164.id.diff
Sat, Apr 4, 4:58 AM
Unknown Object (File)
Wed, Mar 25, 12:09 AM
Unknown Object (File)
Mon, Mar 16, 5:58 AM
Unknown Object (File)
Sun, Mar 15, 11:56 PM
Unknown Object (File)
Feb 26 2026, 11:48 AM
Unknown Object (File)
Feb 26 2026, 8:06 AM
Unknown Object (File)
Jan 31 2026, 9:15 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.