[alsa-devel] how to configure .asoundrc to make arecord use a default device
stan
gryt2 at q.com
Wed Jul 29 19:51:27 CEST 2009
On Wed, 29 Jul 2009 19:14:46 +0200
Jelle de Jong <jelledejong at powercraft.nl> wrote:
>
> Hi Stan thanks for helping out.
<snip>
> I am no asourdrc specialist and I always have got issues
Neither am I! Ditto with the issues. There are experts around.
> understanding the syntax when it comes down to more complicated
> setups. I know I need to make the audiodevice0 the default device.
> But how can I do this without losing my mixing support, how I
> configure it so it has dmix and dsnoop as default devices?
>
> An example how to fix my asoundrc would be really helpful.
You're asking the wrong guy! I just use the page I pointed you to, web
search, and trial and error to get an .asoundrc that works. I don't
actually use one right now.
I notice that your USB device is actually interpreted as 4 cards. Are
they each of different functionality? You could try (as a wild guess):
> pcm.!default {
> type plug{
> slave.pcm dmixer
slave.pcm drecord
}
> }
> pcm.dmixer {
> type dmix
> ipc_key 1024
> slave.pcm hw:audiodevice0
> }
pcm.drecord {
type dsnoop
ipc_key 1025
slave.pcm hw:audiodevice0
}
> ctl.!default {
> type hw
> card audiodevice0
> }
> ctl.dmixer {
> type hw
> card audiodevice0
> }
> ctl.drecord {
> type hw
> card audiodevice0
> }
> pcm.dsp {
> type plug {
> slave.pcm dmixer
> slave.pcm drecord
}
> }
> ctl.mixer {
> type hw
> card audiodevice0
> }
All this is supposition on my part. Maybe it will give you enough of a
hint in some way to get it working.
More information about the Alsa-devel
mailing list