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.

[参考译文] Linux/TLV320AIC3104:ALSA如何切换音频输出路径?

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

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/589432/linux-tlv320aic3104-what-is-the-alsa-way-to-switch-audio-output-path

部件号:TLV320AIC3104

工具/软件:Linux

TI专家,您好!

只需对插入的源代码进行少量修改,ALSA命令下面的命令就可以在L_LO上输出。
AMIX 'PRI_MI2S_RX音频混音器MultiMedia1' 1.
aplay -D hw:0,0 play.wav &
AMIX 'PCM回放音量' 10 % 10 %

请共享正确的ALSA命令以替换下面的I2C访问,从而将输出切换为R_LO。
i2cset -f -y 1 0x18 37 0x40
i2cset -f -y 1 0x18 93 0x09
i2cset -f -y 1 0x18 86 0x00
(某些SOC_DAPM_*或Snd_SOC_DAPM_*似乎适用,但我没有找到正确的使用方式。)

谢谢!
玉林。

e2e.ti.com/.../1321.tlv320aic3x.c

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

    遗憾的是,我们不提供对Linux驱动程序或ALSA命令的支持。

    此致,
    Luis Fernando Rodríguez ñ o S.