Subject: Re: uaudio help
To: Russell McManus <russell_mcmanus@yahoo.com>
From: Lennart Augustsson <lennart@augustsson.net>
List: netbsd-help
Date: 12/23/2002 13:47:16
Russell McManus wrote:

>I'm trying out a nice pair of USB speakers.  NetBSD seems to have
>detected them just fine (from dmesg):
>
>uaudio0 at uhub0 port 1 configuration 1 interface 0: harman/kardon SoundSticks, rev 1.10/0.01, addr 2
>uaudio0: audio rev 1.00
>audio1 at uaudio0: full duplex, independent
>uhidev0 at uhub0 port 1 configuration 1 interface 2
>uhidev0: harman/kardon SoundSticks, rev 1.10/0.01, addr 2, iclass 3/0
>uhid0 at uhidev0: input=2, output=0, feature=0
>
>But how do I play a CD to these speakers?  I'm using xmcd.  The sound
>is still coming out to audio0.
>
Well, there is no easy way to play a CD through the speaker.  The CD 
player is
probably connected with a wire inside your computer to the sound card on the
motherboard.  You either need to bring the CD audio signal out and feed 
it to
your USB speakers (assuming it as has a line in).  Or you need to run 
the CD audio
signal through the ADC on the sound card and then feed that signal 
(digitally) to
the USB speakers.  The latter can be accomplished with audioctl & dd.

    -- Lennart