Closed hnhkj closed 3 years ago
Hi @hnhkj,
The number of channels is limited by ralink-i2s
driver, it only supports 2-channel mode.
You can use these commands to fill two channels with data from the left or right ADC:
amixer sset "ALC Function" "Left"
amixer sset "ADC Data Output Select" "Left Data = Left ADC; Right Data = Left ADC"
thanks
Hi @hnhkj,
You can use this patch to enable mono sound by hacking the ralink-i2s
driver.
According to your kernel version, put the patch file into target/linux/ramips/patches-5.4
or target/linux/ramips/patches-5.10
hi, @redchenjs , 我在linux-4.14.95上使用了你提供的这个path文件,发现在使用ffmpeg播放单声道的时候声音不正常(ffmpeg -v debug -re -i notfound.wav -ar 8000 -ac 1 -f alsa hw:0), 使用双声道播放(-ac 2)就正常了。请问是不是在4.14的kernel上还需要做什么修改?或者是其他的原因?
Hi redchenjs
When I running follow command. I get a error message. I will how to do let it support mono sound? or it's dont support mono sound?