Re: how to configure .asoundrc to make arecord use a default device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29/07/09 20:52, stan wrote:
> On Wed, 29 Jul 2009 20:29:08 +0200
> Jelle de Jong<jelledejong@xxxxxxxxxxxxx>  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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux