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
1 I'm trying to make sure any audio sent to my USB DAC sound card
2 (snd-usb-audio driver) is 16-bit/44.1khz. I plan to test with this
3 syntax:
4
5 # cat /root/.asoundrc
6 pcm.usb_audio {
7 type hw
8 card 0
9 }
10 pcm.usb_audio_44 {
11 type plug
12 slave {
13 pcm usb_audio
14 rate 44100
15 }
16 }
17
18 But I get a "problems opening audio device" error when writing
19 mpd.conf like this:
20
21 audio_output {
22 type "alsa"
23 name "USB Monica"
24 device "usb_audio"
25 }
26
27 That is, I can't get it to work even if specifying the hw card, so I
28 must have a syntax problem. I do think it's with .asoundrc. Can
29 anyone help me out here?
30
31 - Grant
32 --
33 gentoo-user@l.g.o mailing list