[PATCH] ASoC: soc-pcm.c: Introduce a count to record the times of setting DAIs parameters

Mark Brown broonie at kernel.org
Thu Jan 12 17:26:55 CET 2023


On Thu, Jan 12, 2023 at 08:19:40AM -0600, Pierre-Louis Bossart wrote:

> IIRC it's also valid to call hw_params multiple times without calling
> hw_free every time.

Yes, you can call hw_params() as often as you like, the OSS emulation
does that all the time due to a fun mismatch between how OSS and ALSA
work.
-------------- 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/20230112/dce4efbf/attachment.sig>


More information about the Alsa-devel mailing list