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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 29 01:45:20 UTC 2020


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

--- Comment #23 from Florian Walpen <dev at submerge.ch> ---
Quick status update from my side:

I have some working code for the 24bit case, we can actually use the conversion
functions from jack2 with different parameters - i was misled by a comment in
the sources. The produced format will be native endian (AFMT_S24_NE) like in
the 16bit and 32bit cases.

That alone still resulted in choppy, slowed down audio. I had to set the frames
per period (parameter "period") manually to 1365, which is the number of frames
written in one block: 8190 blocksize / 2 channels / 3 bytes sample size. Given
this setting audio output was clean. I thought that this value would propagate
automatically through JackAudioDriver::SetBufferSize(), but it's somehow not
respected.

So patches are not quite ready yet.

The other problem i have is with detection of input channels, my 2-channel USB
interface is always detected as mono:
> JackOSSDriver::OpenInput driver forced the number of capture channels 1

I tried to use SOUND_PCM_READ_CHANNELS, same as above, any ideas?

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


More information about the freebsd-multimedia mailing list