[Bug 251125] audio/jack: update to jack2 or add new port audio/jack2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 4 09:13:31 UTC 2020


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

--- Comment #43 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
 * Fragment size (== block size) is always 2^N in FreeBSD (minus 3byte
rounding)
 * Fragment count is also a 2^N number

Totally wrong.

Only the IOCTL API uses a fragment size of 2^N. This is more or less an
approximation value. You need to read back the actual fragment size using
SNDCTL_DSP_GETBLKSIZE() (which is not power of two) !

The fragment count can be any value N, that fits, usually low, like 2,4,8.

--HPS

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


More information about the freebsd-multimedia mailing list