[alsa-devel] how to configure .asoundrc to make arecord use a default device
Jelle de Jong
jelledejong at powercraft.nl
Wed Jul 29 21:39:56 CEST 2009
On 29/07/09 20:52, stan wrote:
> On Wed, 29 Jul 2009 20:29:08 +0200
> Jelle de Jong<jelledejong at powercraft.nl> wrote:
>
>
>> I really hope somebody can show a cut and paste .asoundrc that I can
>> use for testing.
>
> Someone sent me this link of pre-configured .asoundrc files.
>
> http://home.roadrunner.com/~infofiles/asoundrc.examples.html
>
> Maybe one of those will work for you.
Thanks for the hint. i saw that page before sometime in the past :-)
The asym plug seems to be what whe want :D I am testing it now.
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "dmixer"
}
capture.pcm {
type plug
slave.pcm "drecord"
}
}
pcm.dmixer {
type dmix
ipc_key 1024
slave.pcm hw:audiodevice0
}
pcm.drecord {
type dsnoop
ipc_key 2048
slave.pcm hw:audiodevice0
}
ctl.!default {
type hw
card audiodevice0
}
Anybody that sees some missing things here? I needs to work with oss,
alsa and gstreamer alsasinks.
Best regards,
Jelle
More information about the Alsa-devel
mailing list