[PATCH v0] ASoC: rsnd: core: Check convert rate in rsnd_hw_params
Mark Brown
broonie at kernel.org
Tue Mar 16 18:59:45 CET 2021
On Tue, 16 Mar 2021 14:47:35 +1000, mdurnev at gmail.com wrote:
> snd_pcm_hw_params_set_rate_near can return incorrect sample rate in
> some cases, e.g. when the backend output rate is set to some value higher
> than 48000 Hz and the input rate is 8000 Hz. So passing the value returned
> by snd_pcm_hw_params_set_rate_near to snd_pcm_hw_params will result in
> "FSO/FSI ratio error" and playing no audio at all while the userland
> is not properly notified about the issue.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: rsnd: core: Check convert rate in rsnd_hw_params
commit: 19c6a63ced5e07e40f3a5255cb1f0fe0d3be7b14
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
More information about the Alsa-devel
mailing list