[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 00:14:30 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251125
--- Comment #22 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
int frag = (4 << 16) | 8
> Does that mean I will have 4 fragments, each 256 bytes long?
Yes.
> 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?
You should not do this. You should always write data which is modulus "channels
* sample_size_in_bytes".
View the frag = (4 << 16) | 8 as an approximation.
Use:
SNDCTL_DSP_GETBLKSIZE
To get the real blocksize used.
--HPS
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-multimedia
mailing list