All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Ziegler <patrick.ziegler@fh-kl.de>
To: alsa-devel@alsa-project.org
Subject: SoC Atmel SSC stereo problem
Date: Fri, 22 Oct 2010 17:17:21 +0200	[thread overview]
Message-ID: <4CC1AB01.3020603@fh-kl.de> (raw)

Hi,

I have some trouble with stereo audio through the atmal ssc interface 
based on at91-ssc.c.
Unfortunately left and right channels were swapped periodically.

In my environment the codec supplies the BLCK and LRC clocks and
the SSC is configured to transmit one sample on both edges of the LRC clock.
But I guess the audio frames will always start with a frame of the left 
channel
while the LRC clock is in an undefined state.

How does normally the audio driver detect when a left and when a right 
channel
frame should be send and with which it should start ?

Thanks in advance for your help.

Regards,

Patrick

-- 

Dipl.-Inf. (FH) Patrick Ziegler

University Of Applied Sciences
Kaiserslautern

Amerikastrasse 1
D-66482 Zweibruecken
Germany

Phone:	+49 631 3724 5526
Mail:	patrick.ziegler@fh-kl.de

http://www.fh-kl.de
http://www.fh-kl.de/fachbereiche/imst/iuk-knowhow.html

             reply	other threads:[~2010-10-22 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22 15:17 Patrick Ziegler [this message]
2010-10-22 16:11 ` SoC Atmel SSC stereo problem Clemens Ladisch
2010-10-22 21:39   ` Patrick Ziegler
2010-10-23  4:10     ` Alex
2010-10-25  9:16       ` Patrick Ziegler

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=4CC1AB01.3020603@fh-kl.de \
    --to=patrick.ziegler@fh-kl.de \
    --cc=alsa-devel@alsa-project.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.