Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2020 22:18:39 +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-Skd66lxlVb@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 #21 from Goran Meki=C4=87 <meka@tilda.center> ---
As I don't need last two channels, I lowered the number of channels from 18=
 to
16, and as it is a power of two number, drastically less glitches are prese=
nt,
but they still are there. Anyway, I'm struggling to understand
http://manuals.opensound.com/developer/SNDCTL_DSP_SETFRAGMENT.html, so I wo=
nder
how FreeBSD implementation handles it. Let me give an example:

int frag =3D (4 << 16) | 8

Does that mean I will have 4 fragments, each 256 bytes long?
If fragment size is for example (number of channels * sample size / 2), do I
need 2 read calls to populate the data of all channels?

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