# madplay 123.mp3
WM8960 Playback: ASoC: unmatched rate symmetry: 8000 - 44100
output: ioctl(SNDCTL_DSP_SPEED): Invalid argument
#aplay windowsxp.wav
aplay: pcm_write:1939: write error: Input/output error
=====================================================
static int soc_pcm_params_symmetry(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{
struct snd_soc_dai *cpu_dai = substream->private_data->cpu_dai;
rate = params_rate(params);
if (symmetry && cpu_dai->rate && cpu_dai->rate != rate) {
dev_err(rtd->dev, "ASoC: unmatched rate symmetry: %d - %d\n",//soc-pcm.c 157
}
}
||
static int soc_pcm_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{
ret = soc_pcm_params_symmetry(substream, params);
}
||
int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream)
{
struct snd_soc_dpcm *dpcm;
int ret;
list_for_each_entry(dpcm, &fe->dpcm[stream].be_clients, list_be) {
struct
fs4412开发板学习笔记(十七)
最新推荐文章于 2023-04-08 14:45:34 发布
本文记录了在fs4412开发板上的学习过程,包括硬件连接、基础操作以及一些实用技巧,旨在帮助读者更好地理解和使用该开发板。
摘要由CSDN通过智能技术生成