On Wednesday 01 July 2009 03:44:52 Steve Chen wrote:
> On Tue, 2009-06-30 at 15:54 -0700, David Brownell wrote:
> > On Tuesday 30 June 2009, Steve Chen wrote:
> > > Can you try
> > >
> > >  > aplay -D hw:0,1 r441_c2.wav
> > >
> > > If you see something like
> > >
> > > Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
> > >          please, try the plug plugin
> > >
> > > That means McBSP/AIC33 are not setup to handle sample rate of 44.1K
> > > directly.  The sample rates are covered by software.  The problem is
> > > likely in the area of rate conversion.
> >
> > And ... seeking someone who has a bit of spare time,
> > a DM6446 EVM, and interest in solving it:  that EVM
> > can switch audio clocking at runtime, among six different
> > sample rates (of which those are two).
> >
> > So it would be interesting to get that working.  :)
>
> Looking at the code, I think support for various sample rates for boards
> that uses aix3x are in place.  The values to correctly divide down the
> clock are calculated in aic3x_hw_params.  I think it is a matter of
> making AIC3X the clock master, advertise the rates, and test...  simple
> right :-)
>

By looking at the code, I can say that AIC3X is the master. It is defined in 
davinci-evm.c as:

#define AUDIO_FORMAT (SND_SOC_DAIFMT_DSP_B | \
                SND_SOC_DAIFMT_CBM_CFM | SND_SOC_DAIFMT_IB_NF)

So I guess aic3x is responsible for this 44.1 khz problem here. 

I'm sorry if I'm missing something here, I'm totally dumb about this audio 
stuff.

Thanks,
Caglar


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to