alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@zonque.org>
To: Tomas Matejka <tomas.matejka@tcz.cz>
Cc: alsa-devel@alsa-project.org
Subject: Re: ALSA - Channel swap
Date: Wed, 20 Aug 2014 15:00:44 +0200	[thread overview]
Message-ID: <53F49BFC.6010306@zonque.org> (raw)
In-Reply-To: <53F49680.2050003@tcz.cz>

On 08/20/2014 02:37 PM, Tomas Matejka wrote:
> My kernel version is 3.2.18.
> I can't uderstand this, does this mean that using Atmel, Linux and audio 
> codec always result to channel swapping?
> It would be very strange. How could codec manufacturer sell codec, which 
> swaps channels ?

Also, as I've told you before, the Codec is most probably not the
cultprit here. Try and play a wave file that only has signal on the left
side, and provide some input to the Codec's left channel only. Then see
what your scope shows on the SDIN/SDOUT lines, while putting the trigger
on the LRCLK. If your Codec is causing the problem, you'll already see
the channel swap on the bus, but I bet you won't. Instead, the problem
is in how the Atmel I2S hardware block transports the data into and out
of your memory, and that's likely related to its DMA implementation.

Anyway - the first step is to boot an up-to-date kernel.


Daniel

      parent reply	other threads:[~2014-08-20 13:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19 13:37 ALSA - Channel swap Tomas Matejka
2014-08-19 16:13 ` Daniel Mack
2014-08-20 12:37   ` Tomas Matejka
2014-08-20 12:41     ` Daniel Mack
2014-08-20 13:00     ` Daniel Mack [this message]

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=53F49BFC.6010306@zonque.org \
    --to=daniel@zonque.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=tomas.matejka@tcz.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).