Which USB-Soundcards work?

Kazuhito HONDA kazuhito at ph.noda.tus.ac.jp
Fri Mar 11 12:22:42 PST 2005


From: Kazuhito HONDA <kazuhito at ph.noda.tus.ac.jp>
Subject: Re: Which USB-Soundcards work?
Date: Mon, 07 Feb 2005 14:41:35 +0900 (JST)

> Oh, I couldn't have that idea to use FreeBSD sysctl knob 
> when my coding.  It's a nice idea, 
> and mixer system for USB audios should be.

All controllers of USB audio devices come to be able to control
through FreeBSD sysctl knob.

http://sobarally.dyndns.org/~trench/uaudio/uaudio-mixer-sysctl.gz

For example, when SB Digital Music and SB Live! 24-bit External are
connected after applying the patch above, sysctl says:

hw.snd.pcm0.record at sel8-i10i11i12: 1
hw.snd.pcm0.outputs at speaker-mute: 0
hw.snd.pcm0.outputs at speaker: 7474
hw.snd.pcm0.record at mic-mute: 0
hw.snd.pcm0.record at mic: 26976600
hw.snd.pcm0.record at mic-agc: 0
hw.snd.pcm0.record at line-mute: 0
hw.snd.pcm0.record at line: 7474
hw.snd.pcm0.record at aux-mute: 0
hw.snd.pcm0.inputs at mic-mute: 0
hw.snd.pcm0.inputs at mic: 7400
hw.snd.pcm0.inputs at line-mute: 1
hw.snd.pcm0.inputs at line: 7474
hw.snd.pcm1.outputs at speaker-mute: 0
hw.snd.pcm1.outputs at speaker: 7400
hw.snd.pcm1.record at line: 7700

`*@*-mute's are mute controllers. 0 is OFF and 1 is ON.

`*@sel*-*' is a source selector.  
each `i[num]' corresponds to each input source.
`hw.snd.pcm0.record at sel8-i10i11i12' shows three input source,
and we can select them by 1,2 or 3.

Almost others are volumes. 
first two orders correspond to a left or mono's volume.
last two orders correspond to a right volume.
their values are from 0 to  99.
`hw.snd.pcm0.record at mic: 26976600' is ...... a bug, 
I'll research sometime.


`sysctl -w' changes behaviors of the USB audio device, 
but this isn't reflected by FreeBSD mixer command.

Sincerely
Kazuhito HONDA


More information about the freebsd-multimedia mailing list