From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jelle de Jong Subject: Re: how to configure .asoundrc to make arecord use a default device Date: Wed, 29 Jul 2009 20:29:08 +0200 Message-ID: <4A7094F4.20100@powercraft.nl> References: <4A7044BE.5040509@powercraft.nl> <4A708386.2070501@powercraft.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from relay02.cambriumhosting.nl (relay02.cambriumhosting.nl [217.19.16.174]) by alsa0.perex.cz (Postfix) with ESMTP id 2B39F1038BF for ; Wed, 29 Jul 2009 20:29:25 +0200 (CEST) Received: from relay02.cambriumhosting.nl (localhost [127.0.0.1]) by relay02.cambriumhosting.nl (Postfix) with ESMTP id 8EB6E60002F1 for ; Wed, 29 Jul 2009 20:29:10 +0200 (CEST) Received: from ashley.powercraft.nl (84-245-3-195.dsl.cambrium.nl [84.245.3.195]) by relay02.cambriumhosting.nl (Postfix) with ESMTP id 5EE3C6000228 for ; Wed, 29 Jul 2009 20:29:10 +0200 (CEST) Received: from [192.168.1.234] (unknown [192.168.1.234]) by ashley.powercraft.nl (Postfix) with ESMTPSA id 47AC523BC7F3 for ; Wed, 29 Jul 2009 20:29:09 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 29/07/09 19:51, stan wrote: > On Wed, 29 Jul 2009 19:14:46 +0200 > Jelle de Jong wrote: > >> Hi Stan thanks for helping out. > >> 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