Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] ALSA plug device
Date: Fri, 13 Jun 2008 21:22:27
Message-Id: 49bf44f10806131422s48ab0314ndcb4cb008b86e2a9@mail.gmail.com
I'm trying to make sure any audio sent to my USB DAC sound card
(snd-usb-audio driver) is 16-bit/44.1khz.  I plan to test with this
syntax:

# cat /root/.asoundrc
pcm.usb_audio {
	type hw
	card 0
	}
pcm.usb_audio_44 {
	type plug
	slave {
		pcm usb_audio
		rate 44100
		}
	}

But I get a "problems opening audio device" error when writing
mpd.conf like this:

audio_output {
        type                    "alsa"
        name                    "USB Monica"
        device                    "usb_audio"
}

That is, I can't get it to work even if specifying the hw card, so I
must have a syntax problem.  I do think it's with .asoundrc.  Can
anyone help me out here?

- Grant
-- 
gentoo-user@l.g.o mailing list