Date: Fri, 04 Dec 2020 09:13:29 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 251125] audio/jack: update to jack2 or add new port audio/jack2 Message-ID: <bug-251125-12827-mszIMSVvjD@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251125-12827@https.bugs.freebsd.org/bugzilla/> References: <bug-251125-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251125 --- Comment #43 from Hans Petter Selasky <hselasky@FreeBSD.org> --- * Fragment size (=3D=3D 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251125-12827-mszIMSVvjD>