[alsa-devel] Strange behaviour in snd-usb-cayak with Audio4DJ

Daniel Mack daniel at caiaq.de
Tue Feb 16 17:44:43 CET 2010


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



More information about the Alsa-devel mailing list