Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 12:54:50 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        "Russell L. Carter" <rcarter@pinyon.org>, freebsd-multimedia@freebsd.org
Subject:   Re: uaudio0 -> audacity not recording
Message-ID:  <553A20FA.2070801@selasky.org>
In-Reply-To: <553805E1.80303@pinyon.org>
References:  <5536BC53.4070107@pinyon.org> <55375172.8040605@selasky.org> <553805E1.80303@pinyon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/22/15 22:34, Russell L. Carter wrote:
> Hi Hans,
>
> On 04/22/15 00:44, Hans Petter Selasky wrote:
>>
>> Are you running a -stable or -current kernel?
>
> stable r281044
>
>> Could you try to record using "sox", "play" and "rec" utilities instead?
>
> Good idea:
>
> rcarter@feyerabend> ls -lt /dev/dsp*
> crw-rw-rw-  1 root  wheel  0xaf Apr 22 13:21 /dev/dsp0.0
> rcarter@feyerabend> export AUDIODEV=/dev/dsp0.0
> rcarter@feyerabend> rec  output.flac
>
> Input File     : '/dev/dsp0.0' (ossdsp)
> Channels       : 2
> Sample Rate    : 48000
> Precision      : 16-bit
> Sample Encoding: 16-bit Signed Integer PCM
>
> The cute little monitor line seems to be in sync with the audio I'm
> hearing from the speakers being played through the UCA202.
>
> On playback in play or mpv, I get the same sort of garbled noise,
> not very loud, that I hear on playback in audacity.
>
> There is no jackd or pulse, etc.  I'm trying to keep the setup
> as simple as necessary.
>
> It seems like I'm close...

Could you check or dump:

sysctl -a | grep pcm

I wonder if there is a know we need to tune.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?553A20FA.2070801>