Re: Need help fixing pop/click artifacts in an ASOC driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 17, 2018 at 06:23:43PM +0200, Dimitris Papavasiliou wrote:
> 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).

The device being open shouldn't have any impact on the power state?

> > 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.

I would expect the stream to be closed and reopened by most applications
in between reconfigurations like that, it certainly used to be the
common pattern.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux