Re: [Jack-Devel] Recorded from OSS /dev/dsp sound is too high pitched on FreeBSD

PrevNext  Index
DateMon, 09 Jan 2017 18:24:34 +0100
From Adrian Knoth <[hidden] at drcomp dot erfurt dot thur dot de>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToChris Caudle Re: [Jack-Devel] Recorded from OSS /dev/dsp sound is too high pitched on FreeBSD
Follow-UpHans Petter Selasky Re: [Jack-Devel] Recorded from OSS /dev/dsp sound is too high pitched on FreeBSD
On 01/09/17 17:16, Chris Caudle wrote:

> On Mon, January 9, 2017 12:06 am, Yuri wrote:
>> My OSS device with the mike doesn't accept 48000. During
>> sysctl(SNDCTL_DSP_SPEED) it always falls back to 32000. Jack fails to
>> process this properly and records the signal with the wrong pitch.
>
> I looked back at your first email and you never showed the entire
> output from jackd as it starts.  The console messages printed should
> display the determined paramaters.  On ALSA systems there is a message
> showing what sample rate is used if it is not the same as the sample
> rate requested. Maybe OSS does not return that information.  That
> would be a limitation of OSS or maybe an error in the jackd OSS
> driver, not a generic jackd problem.  I have never heard of anyone
> using the OSS driver, how many users of that are there?

Back in the days, the consensus was "We're already overloaded with
making ALSA work, OSS has exactly zero priority". There was even talk to
delete the OSS code entirely.

I vaguely recall that folks were using jackd2 instead, but maybe I'm
making this up.

What I'm trying to say here is: to the best of my knowledge, there's
nobody on the jack team who cares about OSS, at least not in the context
of jackd1. You're most likely on your own.

I agree that this is potentially a shortcoming in jackd's OSS driver, so
whoever needs this is invited to send in a patch. Don't expect any of
the existing jackd devs to fix it for you, this is simply unrealistic.


Cheers
PrevNext  Index

1483982688.15658_0.ltw:2,a <586e1b43-3834-1577-3f7a-97b0a683340a at drcomp dot erfurt dot thur dot de>