Re: While recording from mono codec twice as much data is received

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux