uaudio0 -> audacity not recording

Russell L. Carter rcarter at pinyon.org
Sun Apr 26 23:19:55 UTC 2015


Hi,

On 04/24/15 22:55, Hans Petter Selasky wrote:
> 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 ...

Well, I had it working 9 months ago on linux.  I will see if I can
record through the adapter to sox/audacity on linux again.

If the audio adapter turns out to be broken, I will note that on this
thread.

Best,
Russell


>
> --HPS
>


More information about the freebsd-multimedia mailing list