你好,
我是使用DM385 IPNC3.5 + TLV320AIC3104 codec.想要實現聲音回放的動作(playback),整個過程中卡在snd_pcm_writei function裡出現了 EPIPE error(underrun occurred),但我嘗試使用aplay command將聲音直接播放是沒有問題的,代表硬體迴路應是沒有問題,請問playback出現這error,需要怎麼是分析問題呢?謝謝 !!
Chris Meng:
你好,
请问你有参考过下面链接的信息么?
processors.wiki.ti.com/…/TI811X_PSP_AUDIO_Driver_User_Guide
Byron Tien:
回复 Chris Meng:
你好,以下是我的設定, 請問有什麼地方需要修改的地方?
amixer -q cset name='PCM Playback Volume' 100%,100%amixer -q sset 'Line DAC' 100%,100%amixer -q sset 'Line Line2 Bypass' 0%,0%amixer -q sset 'Line PGA Bypass' 0%,0%amixer -q sset 'Mono' on
amixer -q sset 'Mono Line2 Bypass' 0%,0%amixer -q sset 'Mono Mixer DACL1' onamixer -q sset 'Mono Mixer PGAR Bypass' on
amixer -q sset 'AGC' off,onamixer -q sset 'HP DAC' 100%,100%
amixer -q sset 'HP Line2 Bypass' 0%,0%amixer -q sset 'HP PGA Bypass' 70%,70%
amixer -q sset 'HPCOM' offamixer -q sset 'HPCOM DAC' 0%,0%amixer -q sset 'HPCOM Line2 Bypass' 0%,0%amixer -q sset 'HPCOM PGA Bypass' 0%,0%
amixer -q sset 'Left DAC Mux' 'DAC_L1'
amixer -q sset 'Left HPCOM Mixer DACL1' off
amixer -q sset 'Right HP Mixer DACR1' offamixer -q sset 'Right HPCOM Mixer DACR1' offamixer -q sset 'Right Line Mixer DACR1' off
amixer -q sset 'Right PGA Mixer Line1R' onamixer -q sset 'Right Line1R Mux' 'differential'
amixer -q cset name='PGA Capture Volume' 0%,70%
_
Chris Meng:
回复 Byron Tien:
Hi,
Would you pls help to check below links?
e2e.ti.com/…/526124
arago-project.org/…/