imx8mn: Using the easrc driver
Fabio Estevam
festevam at gmail.com
Fri Apr 8 21:30:19 CEST 2022
Hi Shengjiu,
I am running kernel 5.18-rc1 on an imx8mn-ddr4-evk board.
The following playback devices are available:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: imxspdif [imx-spdif], device 0: S/PDIF PCM snd-soc-dummy-dai-0
[S/PDIF PCM snd-soc-dummy-dai-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: wm8524audio [wm8524-audio], device 0: HiFi wm8524-hifi-0 [HiFi
wm8524-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: wm8524audio [wm8524-audio], device 1: HiFi-ASRC-FE (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
#
I would like to use the sample rate conversion (provided by the easrc driver):
# aplay -D hw:1,1 /media/f2bjrop1.0.wav
Playing WAVE '/media/f2bjrop1.0.wav' : Signed 16 bit Little Endian,
Rate 16000 Hz, Mono
Warning: rate is not accurate (requested = 16000Hz, got = 32000Hz)
please, try the plug plugin
, but the playback does not play at the correct speed. It plays at a
much faster rate.
The f2bjrop1.0.wav file I got from:
http://www.fit.vutbr.cz/~motlicek/speech_hnm.html
What should be done for the easrc to convert the sampling rates properly?
Thanks,
Fabio Estevam
More information about the Alsa-devel
mailing list