From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Mack Subject: Re: Strange behaviour in snd-usb-cayak with Audio4DJ Date: Tue, 16 Feb 2010 17:44:43 +0100 Message-ID: <20100216164443.GY9007@buzzloop.caiaq.de> References: <74fd948d1002160835j3df4a44sbfa3d3fdaabfdb60@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from buzzloop.caiaq.de (buzzloop.caiaq.de [212.112.241.133]) by alsa0.perex.cz (Postfix) with ESMTP id A6CBD24399 for ; Tue, 16 Feb 2010 17:44:47 +0100 (CET) Content-Disposition: inline In-Reply-To: <74fd948d1002160835j3df4a44sbfa3d3fdaabfdb60@mail.gmail.com> 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: Pedro Ribeiro Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi, On Tue, Feb 16, 2010 at 04:35:29PM +0000, Pedro Ribeiro wrote: > ALSA information script output is here > http://www.alsa-project.org/db/?f=fe4cc3eda2df49c6055f55d4cef935524124d1a1 > and my .asoundrc is here http://pastebin.com/m3f70572d > > Currently my .asoundrc has 4 devices: > - Audio4DJ_A (combines channels 1 and 2) > - Audio4DJ_B (combines channels 3 and 4) > - Audio4DJ (combines Audio4DJ_A and Audio4DJ_B) > - ttable is a device for JACK according to this > http://alsa-project.org/main/index.php/Asoundrc#Virtual_multi_channel_devices > > My goal is to have a separate ALSA soundcard for each pair of > channels, an ALSA soundcard for 4 channels and a JACK device for all 4 > channels. > > Running speaker-test -c2 -D plughw:Audio4DJ,0,X -twav -l1 > with X=0 and X=1 correctly outputs to each channel. Also, > pcm.Audio4DJ_A and pcm.Audio4DJ_B correctly work through both ALSA and > JACK for each pair of channels. > > However, if I try to use the pcm.Audio4DJ (which combines both > pcm.Audio4DJ_A and pcm.Audio4DJ_B), I get correct output through > channels 1 and 2, but channels 3 and 4 have a lot of garbage - you can > hear the track playing but it is at a very high pitch and distorted. Could you first try to playback audio without all your quirks using the following commands, please. For channel 1&2: aplay -D plughw:Audio4DJ,0,0 test.wav For channel 3&4: aplay -D plughw:Audio4DJ,0,1 test.wav If that works, we can exclude driver issues. I'm very confident that will work btw, as this is the way I tested the driver. I admittedly have no clue about JACK ;) Daniel