[alsa-devel] Need help fixing pop/click artifacts in an ASOC driver
Dimitris Papavasiliou
dpapavas at gmail.com
Mon Dec 17 17:23:43 CET 2018
On 12/17/18 5:40 PM, Mark Brown wrote:
> That's why I was suggesting that you should be configuring the power
> down time.
I've already tried your suggestion, but unfortunately it doesn't
work in the general case, as it doesn't help when the hw_params
callback is called while the device is opened (but not playing).
I'm quoting my initial reply below for your convenience; you can look
up the whole message if needed. Apologies in advance, if you've
replied to this and I've somehow missed it.
On 11/18/18 3:37 PM, Dimitris Papavasiliou wrote:
> Thanks for clarifying about idle_bias_off/ignore_pmdown_time. As
> far as I can see, idle_bias_off seems to be set by default, as
> the pcm512x driver is now a component driver and idle_bias_on is
> not set to true. I've also tried to explicitly set it to false,
> as well as setting use_pmdown_time to false. As far as
> ignore_pmdown_time is concerned, it seems to be settable at the
> dai_link level now, which is convenient for my use case.
>
> Unfortunately none of this helps. Although the chip is turned
> off without delay, it's turned off only while the device is
> closed. As soon as the device is opened, it is turned on and
> kept on during all subsequent hw_params calls, where clock
> switching takes place. The pops always get through.
More information about the Alsa-devel
mailing list