Page MenuHomeFreeBSD

audio/sndio: Fix format selection
ClosedPublic

Authored by tobik on Mar 28 2017, 1:33 PM.
Tags
None
Referenced Files
F143725234: D10164.id54425.diff
Sat, Jan 31, 9:15 AM
F143500689: D10164.id26732.diff
Fri, Jan 30, 6:43 PM
Unknown Object (File)
Fri, Jan 16, 12:56 PM
Unknown Object (File)
Thu, Jan 1, 12:17 PM
Unknown Object (File)
Dec 9 2025, 4:17 AM
Unknown Object (File)
Dec 6 2025, 1:05 AM
Unknown Object (File)
Dec 2 2025, 10:28 PM
Unknown Object (File)
Nov 27 2025, 3:25 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
Lint Not Applicable
Unit
Tests Not Applicable

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.