All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Matejka <tomas.matejka@tcz.cz>
To: Daniel Mack <daniel@zonque.org>, alsa-devel@alsa-project.org
Subject: Re: ALSA - Channel swap
Date: Wed, 20 Aug 2014 14:37:20 +0200	[thread overview]
Message-ID: <53F49680.2050003@tcz.cz> (raw)
In-Reply-To: <53F377BB.90309@zonque.org>

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 ?
I need this for application that requires that audio channels can't be 
randomly swapped.

Dne 19.8.2014 18:13, Daniel Mack napsal(a):
> On 08/19/2014 03:37 PM, Tomas Matejka wrote:
>> Good afternoon,
>> i have a problem:
>> I use sound codec CS4202, which I control with AT91SAM9263.
>> I'm using ALSA sound library.  When i use CAPTURE mode, sometimes it
>> swaps left and right channel.
>> I have found this discussions on Internet, where is described similar
>> problem:
>>
>> http://pl.it-usenet.org/thread/17996/3593/
>> http://sinustrom.info/2013/03/21/atmel-soc-ssc-channel-swapping/
>>
>> I have figured out, that the problem could be in driver or in ALSA
>> library. Have you any solution ? Did you encountered similar problem ?
> When the mismatch happens, you'll certainly have wrong data on the I2S
> bus, so that bug cannot be caused by the codec driver.
>
> The most likely reason is that the platform's (AT91SAM9263) ASoC
> implementation has a problem syncing up the playback and record streams,
> probably in its DMA bits. I'd start searching in that area.
>
> I personally never worked with this platform, but for anyone else to
> help you, you should provide more information, such as the kernel
> version you're working with.
>
>
> Daniel
>

  reply	other threads:[~2014-08-20 12:37 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 [this message]
2014-08-20 12:41     ` Daniel Mack
2014-08-20 13:00     ` 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=53F49680.2050003@tcz.cz \
    --to=tomas.matejka@tcz.cz \
    --cc=alsa-devel@alsa-project.org \
    --cc=daniel@zonque.org \
    /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.