From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Louis Lee <lwhlee@hotmail.com>
Cc: ALSA Devel <alsa-devel@alsa-project.org>
Subject: Re: While recording from mono codec twice as much data is received
Date: Thu, 16 Jul 2009 19:26:51 +0100 [thread overview]
Message-ID: <20090716182651.GA11099@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <COL102-W38BFFD26634F8E68389469D0270@phx.gbl>
On Fri, Jul 10, 2009 at 02:53:52PM -0600, Louis Lee wrote:
> Mark, thanks again for your insights. I believe the sample rate is
> correct.I can see it on the scope and FRAME frequency is equivalent to
> thesample rate. I ran into a bit of a problem though. If you are right
Yup, sounds correct.
> aboutthat each bit in the clock cycle is being recorded I think I have
> just enoughbits in my clock for stereo data. If I reduce it though I
> run into theproblem where I don't have enough bits to clock through all
> my data. :(
I'm not sure what you mean here - do you have more bits than you have
data or is there data that you don't want to record?
> This probably seems like a complete noob question. How exactly do I
> modify the CPU DAI to not account for each bit in the clock cycle?
The best API for this if the CPU driver supports it is set_tdm_slot()
but it does depend on what the hardware can do and what the driver
supports. I'm afraid I'm not too familiar with i.MX2x specifics here
(or the particular BSP that you've got).
prev parent reply other threads:[~2009-07-16 18:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-09 21:27 While recording from mono codec twice as much data is received Louis Lee
2009-07-10 9:29 ` Mark Brown
2009-07-10 20:53 ` Louis Lee
2009-07-16 18:26 ` Mark Brown [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=20090716182651.GA11099@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=lwhlee@hotmail.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.