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=3D251125

--- 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 conver=
sion
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 fr=
ames
per period (parameter "period") manually to 1365, which is the number of fr=
ames
written in one block: 8190 blocksize / 2 channels / 3 bytes sample size. Gi=
ven
this setting audio output was clean. I thought that this value would propag=
ate
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?

--=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-pAFFZxmQM7>