[alsa-devel] [PATCH] ASoC: samsung: odroid: Ensure proper sample rate on pri/sec PCM
Krzysztof Kozlowski
krzk at kernel.org
Fri Feb 15 08:24:17 CET 2019
On Thu, 14 Feb 2019 at 17:00, Sylwester Nawrocki <s.nawrocki at samsung.com> wrote:
>
> Currently when playing sound with different sample rates actual
> sample rate will be determined by audio stream which starts first
> on either primary or secondary PCM. The audio root clock will be
> configured appropriately only for the first stream. As the hardware
> is limited to same sample rate on both interfaces we need to disallow
> streams with different sample rates. It is done by this patch by
> returning error in FE hw_params if there is already active stream
> running with different sample rate.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki at samsung.com>
> ---
> sound/soc/samsung/odroid.c | 56 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 56 insertions(+)
Is this the fix for
"aplay: set_params:1403: Unable to install hw params:"
which appeared in today's next (so after your last round of patches get merged)?
https://krzk.eu/#/builders/1/builds/3093/steps/24/logs/stdio
Also, since yesterday (so with previous rounds of patches) the audss
rebind freezes entire kernel:
https://krzk.eu/#/builders/1/builds/3093/steps/25/logs/stdio
https://krzk.eu/#/builders/1/builds/3093/steps/25/logs/serial0
It is not important test but it was always passing in my suite.
Best regards,
Krzysztof
More information about the Alsa-devel
mailing list