[Bug 184380] [pcm] SNDCTL_DSP_SETFMT accepts unsupported values

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 20 06:36:58 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184380

Hans Petter Selasky <hselasky at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hselasky at FreeBSD.org

--- Comment #2 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
Hi,

AFMT_FLOAT is not defined for the in-kernel OSS. If there is enough bits left
we can do that.

Your AFMT_FLOAT definition is actually AFMT_U32_LE, which of-course is
supported when using vchans:

/usr/include/sys/soundcard.h:#define AFMT_U32_LE        0x00004000      /*
Little endian unsigned 32-bit */

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-multimedia mailing list