uaudio0 -> audacity not recording

Hans Petter Selasky hps at selasky.org
Sat Apr 25 05:54:31 UTC 2015


On 04/24/15 19:08, Russell L. Carter wrote:
> 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
>

Hi,

Could you record this noise through another audio device and send me a 
link? Maybe your audio adapter is broken ...

--HPS



More information about the freebsd-multimedia mailing list