USB audio

Albert Solana txena at menta.net
Tue Mar 1 01:29:06 UTC 2005


Hi,

On dl, 2005-02-28 at 21:16 +0900, toyfactory wrote:
>I have an Audiotrak Maya44USB sound device that I'm trying to get
>working.  It doesn't seem to get detected at boot-up but if I plug it in
>after boot-up it shows up in the Device Manager as a USB Audio
>Interface.  It doesn't seem to have a corresponding entry in /dev so I'm
>not sure how to access it.   If I type lsmod, I can snd_usb_audio listed
>there, so I'm guessing the necessary module is installed.  I'm using
>XMMS and I'd like to find a way for either the ALSA or the OSS output
>plugin to talk to my sound device.
>
>Any ideas?
>

I have an USB sound device as well, and it creates an entry in /dev/dsp2
due to it's my second sound device (my first one is an integrated laptop
speakers listed in /dev/dsp1). 

Depending on which sound program I wish to play I use ALSA or OSS
output. If I chose OSS output, my USB device will be /dev/dsp2 and if I
choose ALSA output, it will be listed as hw:2,0.

As an example, in mplayer you can try:

$ mplayer -ao oss:device=/dev/dsp2 your_mp3_file.mp3

or 

$ mplayer -ao alsa:device=hw#2.0 your_mp3_file.mp3 

(Notice that in mplayer convenion hw:2,0 is hw#2.0)

Hope it helps.

--
***********************************
** Albert Solana - a.k.a. Txena ***
***********************************





More information about the ubuntu-users mailing list