Hi All,
I am trying to use hardware ASRC, and it supported by fsl-alsa-plugin.
But according to kernel log, while calling aplay or arecoed with alsa plugin, hardware ASRC doesn't be called.
Does iMX yocto BS support fsl-alsa-plugin or not, or how to use it, Thanks!
已解决! 转到解答。
Hi Arc
for asrc usage one can check its driver description in sect.7.2
Asynchronous Sample Rate Converter (ASRC) attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi arc
hardware asrc is supported in i.mx official nxp bsps described on
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Do you know how to enable fsl-alsa-plugin ASRC feature in iMX BSP?
I'am follow the instruction modify /etc/asound.conf
but arecord -vD asrc result shows no ASRC was enabled.
Thanks!
Arc.
Hi Arc
for asrc usage one can check its driver description in sect.7.2
Asynchronous Sample Rate Converter (ASRC) attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello @igorpadykov
I tried the ~/.asoundrc configuration as mentioned in 7.2.3.2 of attached manual.
But when I do, aplay -l | grep ASRC, it returns blank.
aplay -l , lists only card0, device0.
So what could have gone wrong? How to ensure alsa resampling by ASRC?
Further info on my imx6 yocto:
1. snd-soc-fsl-asrc kernel module is loaded
2. /dev/mxc_asrc exists
3. /proc/driver/asrc doesn't exist
4. cat /proc/asound/cards lists only card0
Thanks!
Hi Igor,
I am simply copy tmp/sysroots/imx6qsabresd/usr/lib/alsa-lib/ directory from yocto to rootfs, and alsa-plugin executes successfully.
As follows i.MX_Reference_Manual.pdf, unit_tests works fine
"@@ fsl_asrc_ioctl_config_pair " is a printed log make sure ASRC has been called
But while using fsl-alsa-plugin to SPDIF device,
it shows
but without any SPDIF signal output
Should i open another thread for this discussion?
Thanks!
Arc.