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/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #51 from Florian Walpen <dev@submerge.ch> ---
(In reply to Goran Mekić 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 the
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 fragments

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

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251125-12827-8umYVw9Rug>