I think the requirement is to delay the power down the link during the music playback. There is a possibility that next song will start playing sooner. In this case, try to avoid power down and power up the DAI immediately. In case of voice call, it is not expected to have voice call immediately after a call. It can be closed. Phone stack can go ahead and close the modem path but codec path will still be open. This will cause glitches.
How will this scenario be glitch free?
-----Original Message----- From: alsa-devel-bounces@alsa-project.org [mailto:alsa-devel-bounces@alsa-project.org] On Behalf Of Babu, Ramesh Sent: Friday, October 21, 2011 3:59 AM To: Mark Brown Cc: Peter Ujfalusi; alsa-devel@alsa-project.org; Liam Girdwood; Misael Lopez Cruz Subject: Re: [alsa-devel] [PATCH v2 1/2] ASoC: core: Add flag to ignore pmdown_time at pcm_close
This clearly isn't something that should be set in the CODEC driver, it's a system integration issue - on a different board there might be no such requirement.
Hmm... Ok. Thanks for clarification.
If it is a board specific requirement, then would it make sense to have it in dai_link as per Peter Ujfaulsi's RFC [1].
In general, how this kind of situation is handled?
[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2011-October/045088.htm...
_______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel