[alsa-devel] [PATCH v3 2/5] ASoC: OMAP4: omap-dmic: Initial support for OMAP DMIC

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Nov 28 12:44:05 CET 2011

On Mon, Nov 28, 2011 at 09:49:19AM +0200, Péter Ujfalusi wrote:
> On Sunday 27 November 2011 19:50:41 Mark Brown wrote:

> > So what happens if the user starts recording at 192kHz then goes back to
> > 96kHz?  This all feels a bit clunky and fragile.

> I expect another HW param calls. The stream is stopped, and I reconfigure the 
> divider for 96KHz (I will not change the divider here, since the stream is 
> 96KHz). I don't see any issue here.

Only if the user is using the same machine driver as you.  If the user
wants a fixed clock rate for the DMIC and sets it on init rather than
resetting it every time hw_params() is called then this will break.

More information about the Alsa-devel mailing list