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)
Sun, Mar 10, 9:27 AM
Unknown Object (File)
Sun, Mar 10, 9:27 AM
Unknown Object (File)
Sun, Mar 10, 9:27 AM
Unknown Object (File)
Sun, Mar 10, 9:15 AM
Unknown Object (File)
Jan 7 2024, 1:29 PM
Unknown Object (File)
Dec 22 2023, 10:34 PM
Unknown Object (File)
Dec 18 2023, 1:52 PM
Unknown Object (File)
Dec 15 2023, 9:39 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.