Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Dec 2020 21:20:44 +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-8umYVw9Rug@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 #51 from Florian Walpen <dev@submerge.ch> ---
(In reply to Goran Meki=C4=87 from comment #50)

For testing I would just replace the SNDCTL_DSP_SETFRAGMENT ioctl with
SNDCTL_DSP_SETBLKSIZE using fInputBufferSize as parameter. You can see in t=
he
jack output whether the fragment size is set to the requested 512 * 18 * 4 =
or
rounded to a different size. If it is the requested size, test again for
glitches, otherwise I don't see any use in it.

For an actual FreeBSD-specific implementation we could maybe:
1. Set SNDCTL_DSP_SETBLKSIZE
2. Check the result with SNDCTL_DSP_GETBLKSIZE
3. If not the requested size, use SNDCTL_DSP_SETFRAGMENT with 4 or 8 fragme=
nts

--=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-8umYVw9Rug>