Date: Sun, 29 Nov 2020 12:07: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-z6RcOqD03C@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 #26 from Hans Petter Selasky <hselasky@FreeBSD.org> --- Hi, I think the problem is that SNDCTL_DSP_SETFMT doesn't have the AFMT_STERO b= it set, and this forces the audio to 1-ch mono: if (ioctl(fInFD, SNDCTL_DSP_SETFMT, &fSampleFormat) =3D=3D -1) { jack_error("JackOSSDriver::OpenInput failed to set format : %s@%i, errno =3D %d", __FILE__, __LINE__, errno); goto error; } Actually you should read the channels first, then SETFMT, then write channe= ls. --HPS --=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-z6RcOqD03C>