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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 30 13:07:55 UTC 2020


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

--- Comment #39 from Florian Walpen <dev at submerge.ch> ---
Thanks for the log, Goran. For me the block size returned was always the
fragment size requested (minus 3 byte rounding for 24bit samples). Obviously
the block size of 36864 fits your settings (512 * 4 * 18). But what confuses me
is how you get a non-2^N fragment size - maybe it just uses a multiple of the
page size for bigger fragments?

Probably HPS knows, or I'll have a look at the source code later on.

What helped in my case was to go the other way round and adjust the period
parameter in the jack config (both driver and internals). So you could aim for
2^15 block size, which makes 32768 / (4 * 18) = 455 frames per period. Not sure
every jack client will like this odd period size, but in my quick tests
Hydrogen, MusE and Ardour6 worked.

Don't forget to revert to the original fragment calculation if you try this.

I will do more testing as soon as I can fetch my oddball gear from the music
room - 6 in 6 out 24bit, and 10 in 12 out 32bit.

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


More information about the freebsd-multimedia mailing list