This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 声音仅播放特定的 Hz 和比特率

Guru**** 2577385 points
Other Parts Discussed in Thread: TLV320AIC3104

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1064183/sound-is-playing-only-specific-hz-and-bit-rates

器件型号:TLV320AIC3104EVM-K
主题中讨论的其他器件:TLV320AIC3104

你(们)好

我将 TLV320AIC3104编解码器与 IMX8MM 搭配使用。

但声音仅以特定的 Hz 和比特率播放。

工作样本:

EVK_8mm:/# tinyplay /sdcard/test。wav                                                                                        
播放示例:2通道、48000Hz、16位139792304字节

故障样本:

EVK_8mm:/# tinyplay /sdcard/SineWaveMinus16.wav                                                                                     
无法打开 PCM 设备0 (无法设置硬件参数:无效参数)

logcat:

[675.093204] Divyesh -< SoC-read> Func:snd_soc_component_read、reg:9.
[675.093213] Divyesh -< SoC-write> Func:snd_SoC_component_write、reg:9、value:48
[675.093222] Divyesh -< SoC-write> Func:snd_soc_component_write、reg:101、value:0
[675.093227] Divyesh -< SoC-update> func:snd_soc_component_update_bits、reg:3、value:128、mask:128
[675.093232] Divyesh -< SoC-write> Func:snd_SoC_component_write、reg:7、value:138
[675.093235] Divyesh -< SoC-write> Func:snd_SoC_component_write、reg:2、value:0
[675.093294] Divyesh -< SoC-update> func:snd_soc_component_update_bits、reg:3、value:3、mask:7
[675.093298] Divyesh -< SoC-write> Func:snd_SoC_component_write、reg:11、value:1.
[675.093301] Divyesh -< SoC-write> Func:snd_SoC_component_write、reg:4、value:20
[675.093305] Divyesh -< SoC-write> Func:snd_SoC_component_write、reg:5、value:80
[675.093309] Divyesh -< SoC-write> Func:snd_SoC_component_write、reg:6、value:20
[675.093324] FSL-SAI 3001000.SAI:无法得出所需的 Tx 速率:2822400
[675.100430] FSL-SAI 3001000.SAI:ASOC:3001000.SAI 上的 snd_soc_da_hw_params 错误:-22.
[675.108794] Divyesh -< SoC-read> Func:snd_soc_component_read、reg:43
[675.108799] Divyesh -< SoC-read> Func:snd_soc_component_read、reg:44

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    这似乎与另一个帖子有关。

    我将拒绝这一点。