HomeFreeBSD

With incompletely specified parameters the OSS backend will always

Description

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: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D10164

Details

Provenance
tobikAuthored on
Differential Revision
D10164: audio/sndio: Fix format selection
Parents
rP437129: Have you ever wanted to blow something up? Or maybe you always
Branches
Unknown
Tags
Unknown