Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2020 01:45:20 +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-pAFFZxmQM7@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=251125

--- Comment #23 from Florian Walpen <dev@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.


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