From: Jelle de Jong <jelledejong@powercraft.nl>
To: alsa-devel@alsa-project.org
Subject: Re: how to configure .asoundrc to make arecord use a default device
Date: Wed, 29 Jul 2009 20:29:08 +0200 [thread overview]
Message-ID: <4A7094F4.20100@powercraft.nl> (raw)
In-Reply-To: <BLU0-SMTP42E68ED59128B653919DDEEE120@phx.gbl>
On 29/07/09 19:51, stan wrote:
> On Wed, 29 Jul 2009 19:14:46 +0200
> Jelle de Jong<jelledejong@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.
I don't know how you got it working but i tried several similar setups,
and I ether get syntax error, working recording with broken playing, or
working playing with broken recording. :( see:
http://debian.pastebin.com/m37d09000
I really hope somebody can show a cut and paste .asoundrc that I can use
for testing.
Thanks in advance,
Jelle
next prev parent reply other threads:[~2009-07-29 18:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-29 12:46 how to configure .asoundrc to make arecord use a default device Jelle de Jong
2009-07-29 15:28 ` stan
2009-07-29 17:14 ` Jelle de Jong
2009-07-29 17:51 ` stan
2009-07-29 18:29 ` Jelle de Jong [this message]
2009-07-29 18:52 ` stan
2009-07-29 19:39 ` Jelle de Jong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A7094F4.20100@powercraft.nl \
--to=jelledejong@powercraft.nl \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.