[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 12:07:20 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251125
--- Comment #26 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
Hi,
I think the problem is that SNDCTL_DSP_SETFMT doesn't have the AFMT_STERO bit
set, and this forces the audio to 1-ch mono:
if (ioctl(fInFD, SNDCTL_DSP_SETFMT, &fSampleFormat) == -1) {
jack_error("JackOSSDriver::OpenInput failed to set format : %s@%i,
errno = %d", __FILE__, __LINE__, errno);
goto error;
}
Actually you should read the channels first, then SETFMT, then write channels.
--HPS
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-multimedia
mailing list