Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 10:08:04 -0700
From:      "Russell L. Carter" <rcarter@pinyon.org>
To:        Hans Petter Selasky <hps@selasky.org>,  freebsd-multimedia@freebsd.org
Subject:   Re: uaudio0 -> audacity not recording
Message-ID:  <553A7874.8080806@pinyon.org>
In-Reply-To: <553A6659.2020808@selasky.org>
References:  <5536BC53.4070107@pinyon.org> <55375172.8040605@selasky.org> <553805E1.80303@pinyon.org> <553A20FA.2070801@selasky.org> <553A5A07.1080701@pinyon.org> <553A6659.2020808@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Hans,

On 04/24/15 08:50, Hans Petter Selasky wrote:
> On 04/24/15 16:58, Russell L. Carter wrote:
>>
>>
>> On 04/24/15 03:54, Hans Petter Selasky wrote:
>>
>>>
>>> Could you check or dump:
>>>
>>> sysctl -a | grep pcm
>>
>> Sure...
>>
>> dev.pcm.%parent:
>> dev.pcm.0.%desc: USB audio
>> dev.pcm.0.%driver: pcm
>> dev.pcm.0.%location:
>> dev.pcm.0.%pnpinfo:
>> dev.pcm.0.%parent: uaudio0
>> dev.pcm.0.hwvol_step: 5
>> dev.pcm.0.hwvol_mixer: vol
>> dev.pcm.0.play.vchans: 4
>> dev.pcm.0.play.vchanmode: fixed
>> dev.pcm.0.play.vchanrate: 48000
>> dev.pcm.0.play.vchanformat: s16le:2.0
>> dev.pcm.0.rec.vchans: 1
>> dev.pcm.0.rec.vchanmode: fixed
>> dev.pcm.0.rec.vchanrate: 48000
>> dev.pcm.0.rec.vchanformat: s16le:2.0
>> dev.pcm.0.buffersize: 0
>> dev.pcm.0.bitperfect: 0
>> dev.pcm.0.mixer.vol_0_0.val: -8225
>> dev.pcm.0.mixer.vol_0_0.min: -32768
>> dev.pcm.0.mixer.vol_0_0.max: 0
>> dev.pcm.0.mixer.vol_0_0.desc: USB Audio CODEC
>> dev.pcm.0.mixer.vol_0_1.val: -8225
>> dev.pcm.0.mixer.vol_0_1.min: -32768
>> dev.pcm.0.mixer.vol_0_1.max: 0
>> dev.pcm.0.mixer.vol_0_1.desc: USB Audio CODEC
>> dev.pcm.0.mixer.mute_1.val: 0
>> dev.pcm.0.mixer.mute_1.min: 0
>> dev.pcm.0.mixer.mute_1.max: 1
>> dev.pcm.0.mixer.mute_1.desc: USB Audio CODEC
>> dev.pcm.0.feedback_rate: 0
>>
>>
>
> Hi,
>
> If you run:
>
> sysctl dev.pcm.0.mixer.vol_0_0.val=-16000
> sysctl dev.pcm.0.mixer.vol_0_1.val=-16000
>
> Does it make any difference?

No difference, still garbled noise being output by rec.  Rec appears
to be receiving bits from the audio adapter; if I stop the audio
source, the monitor correctly goes to zero.  I raised mixer pcm from
75 to 100, and now I can hear in the garbled noise some tones that
sound like they might be from the source.

> Also try play with:
>
> sysctl dev.pcm.0.mixer.mute_1.val=0

This is where it is to begin with, so no effect.  To be precise, I can
hear the garbled output on 'play output.flac'.

> sysctl dev.pcm.0.mixer.mute_1.val=1

And this causes the 'play output.flac' to be silent, even as the
monitor is registering the same as before (about half the indicated
max level for both channels).

Thanks for taking a look at this.

Russell



> --HPS



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