Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2020 12:12:48 +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-knYdO8eNKU@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 #27 from Goran Meki=C4=87 <meka@tilda.center> ---
I updated the code with (I hope) proper calculation of buffer sizes in
https://github.com/mekanix/jack2/tree/feature/freebsd. It is tested only wi=
th
32bit samples, as that's the only thing my card supports. It probably need =
more
refinement. The base of the idea is to take
http://manuals.opensound.com/developer/SNDCTL_DSP_SETFRAGMENT.html as refer=
ence
and replace:

int frag =3D (max_fragments << 16) | (size_selector)

with:

int frag =3D (channels << 16) | (size_selector)

--=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-knYdO8eNKU>