(07-19-2023, 07:44 PM)mikehenson Wrote: During a phone call, the other person has told me about an echo. I have not found any direction on correcting this.
Device: PinePhone Pro
OS: DanctNIX Arch Linux with Phosh
Kernel: Linux danctnix 6.4.1-1-danctnix
Phosh version 0.28
You are using wireplumber and pipewire-pulse right?
I have been able to reproduce echo on the other end only whit "speaker mode mic".
Currently there are some issues which are not very well documented so I try to write them down:
1. Somehow there are two mic setups "earpiece" and "speaker"
There is only one setup in mic section if you look VoiceCall.conf so I don't fully understand where this is coming from
When people complain echo or too loud mic they are 99% sure using "speaker mic"
2. If you toggle speaker mode during call it will switch incoming sound correctly to earpiece or speaker but after first switch to speaker the mic setup will stay in "speaker mode" and does not come back to "earpiece mode" no matter what you do.
That is why some people claim that toggling speaker on/off will fix the mic in the beginning of the call
And those who claim that are 99% sure using too low mic values (they are by default 47 in Arch, Mobian and Manjaro and it is absolutely too low)
(sxmo even toggless speaker mode on and off before every call so they are at the moment all the time in "speaker mode mic" and they have to lower the mic to 20-25% in their settings to make it usable)
3. Wireplumber does not swithc Callaudio profiles correctly (sometimes it does but most of the times not)
Many times when you start call it will start in speaker mode - so you are stuck in "speaker mode mic" until the end of call
There is your echo - I think?
4. Incoming call while PPP is suspended will destroy the earpiece mic and make it REALLY much lower
How ever speaker mode mic is not affected - so for example in sxmo (see upper part) it feels like they don't have this issue but the reason is another bug xD
And because of the above some people claim that they can fix this toggling speaker on/off (which is kind of true)
5. The speaker mode mic so is so damn sensitive that you can whisper from 1 meter distance and the other party will hear you really loud an clear
6. If you have wifi/bluetooth killed by the killswitch callaudio will suspend in few seconds and you can't be heard and hear anything
Megi did give me some idea how to fix this but I have not been able to try it
What you can do with this easily? Use pulseaudio and disable pulseaudio suspend - then it will work. But it will also prevent suspend totally so not a good idea
I am trying to figure this out but not with good success so feel free to help.