All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.de>
To: Pedro Ribeiro <pedrib@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Strange behaviour in snd-usb-cayak with Audio4DJ
Date: Tue, 16 Feb 2010 17:44:43 +0100	[thread overview]
Message-ID: <20100216164443.GY9007@buzzloop.caiaq.de> (raw)
In-Reply-To: <74fd948d1002160835j3df4a44sbfa3d3fdaabfdb60@mail.gmail.com>

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

  reply	other threads:[~2010-02-16 16:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-16 16:35 Strange behaviour in snd-usb-cayak with Audio4DJ Pedro Ribeiro
2010-02-16 16:44 ` Daniel Mack [this message]
2010-02-16 17:10   ` Pedro Ribeiro
2010-02-16 17:17     ` Daniel Mack

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=20100216164443.GY9007@buzzloop.caiaq.de \
    --to=daniel@caiaq.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=pedrib@gmail.com \
    /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.