[alsa-devel] [PATCH] ASoC: bells: Up clock rate to 48kHz and 512fs

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Nov 2 15:05:06 CET 2012


On Fri, Nov 02, 2012 at 01:01:56PM +0000, Dimitris Papastamos wrote:
> The current WM0010 firmware images expect a 48kHz * 512fs
> clkin.

That's not actually the case, it's more flexible than that also...

> -#define SYS_AUDIO_RATE 44100
> -#define SYS_MCLK_RATE  (SYS_AUDIO_RATE * 256)
> +#define SYS_AUDIO_RATE 48000
> +#define SYS_MCLK_RATE  (SYS_AUDIO_RATE * 512)

...if you're doing this you need to update the clock rates supplied to
the CODECs otherwise they won't be able to generate the required audio
rate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121102/d3bd64cf/attachment-0001.sig>


More information about the Alsa-devel mailing list