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)
Nov 25 2024, 1:55 AM
Unknown Object (File)
Nov 18 2024, 5:40 PM
Unknown Object (File)
Nov 13 2024, 7:24 PM
Unknown Object (File)
Nov 12 2024, 2:15 AM
Unknown Object (File)
Nov 12 2024, 2:15 AM
Unknown Object (File)
Nov 11 2024, 6:32 AM
Unknown Object (File)
Nov 11 2024, 3:30 AM
Unknown Object (File)
Nov 11 2024, 2:29 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
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.