[alsa-devel] Need help fixing pop/click artifacts in an ASOC driver

Mark Brown broonie at kernel.org
Mon Dec 17 15:10:08 CET 2018


On Mon, Dec 17, 2018 at 02:58:03PM +0200, Dimitris Papavasiliou wrote:

> In general the clocks need to be switched during the hw_params
> callback (when the new callback specifies a new sample rate,
> which needs the other clock) and, as far as I can see, this can
> happen at more or less any time, i.e. in all power states and
> regardless of whether the device is opened or closed.

It shouldn't be called while the stream is running, if it is it'd be
entirely fine to just return an error.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20181217/dd5028cf/attachment.sig>


More information about the Alsa-devel mailing list