Re: [PATCH] ASoC: test-component: Support continuous rates for test component
From: Kuninori Morimoto
Date: Tue Nov 12 2024 - 23:35:57 EST
Hi John
Thank you for the patch
> There's no reason to limit the supported rates of the test component
> to specific ones as if it's a real piece of hardware. Set the rates to
> continuous to aid in testing different rates.
>
> Signed-off-by: John Watts <contact@xxxxxxxxxx>
> ---
> I've needed to use this while testing audio-graph-card2 with a variable
> MCLK. I'm not sure if there's a reason why it's not continous already but this
> patch seems to work well enough from my test results.
I didn't know SNDRV_PCM_RATE_CONTINUOUS, but indeed dummy_dai is using it.
The reason why I used 8000-384000 on the test-component was that it was most
wide range support.
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
Thank you for your help !!
Best regards
---
Kuninori Morimoto