From: Andrey Gelman <andrey.gelman@compulab.co.il>
To: alsa-devel@alsa-project.org, fabio.estevam@freescale.com
Subject: PROBLEM: iMX6 SSI - set up as a master of external audio codec
Date: Mon, 15 Apr 2013 14:13:58 +0300 [thread overview]
Message-ID: <516BE0F6.3060409@compulab.co.il> (raw)
In-Reply-To: <516BDCE2.6010800@compulab.co.il>
Hi, everyone !
I'm bringing up a wm8731 audio codec on an iMX6 based board. I use the
slave mode, i.e. SSI outputs all the clocks towards the codec IC.
I work with 3.0.35 Android kernel provided by freescale.
While, generally, the playback is Ok, I face 2 issues:
- cannot play back mono streams (too high rate, one speaker produces
only noise)
- cannot play back streams with sampling rate as low as 8kHz (the sound
is accompanied by high distortion)
In the mainline kernel (commits to v3.6), there is a workaround to the
1-st issue by simply removing mono support from imx-ssi.c. Similar
approach would fix the 2-nd issue as well - SSI would report it does not
support 8kHz sampling rate.
In a later commit, this workaround has been reverted, enabling mono
support back.
My question is this:
Is this a real limitation of SSI ? Does it support mono playback or not ?
Does SSI support 8kHz sampling rate ? If yes, what could be possible
reason to the distortions I get, while higher rates are played back well ?
Is there a real fix to these issues, or only workarounds are available ?
Thanks,
Andrey Gelman
parent reply other threads:[~2013-04-15 11:14 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <516BDCE2.6010800@compulab.co.il>]
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=516BE0F6.3060409@compulab.co.il \
--to=andrey.gelman@compulab.co.il \
--cc=alsa-devel@alsa-project.org \
--cc=fabio.estevam@freescale.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.