Phone Call Echo

Post Reply
wkl3968
Posts: 53
Joined: Thu Aug 07, 2025 12:22 pm

Phone Call Echo

Post by wkl3968 »

The phone audio delivered well in the car or HUDIY side. However, the one calling gets to listen their own echo. Is there a way to address this?
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Re: Phone Call Echo

Post by hudiy »

Echo cancellation is handled in PipeWire/WirePlumber by the echo-cancel module.
The module is loaded from the configuration file:
$HOME/.config/pipewire/pipewire-pulse.conf.d/hudiy.conf

The echo-cancel module in PipeWire works by creating a virtual sink (echo_cancel_sink) and a virtual source (echo_cancel_source).

For the module to work correctly and actually eliminate echo, the source output from the phone must be connected to the source created by the echo-cancel module. In addition, all audio from the phone’s sink input must go to echo_cancel_sink. This way, the module knows which input to cancel from which source.

You can verify that the routing is correct (i.e., that the phone is actually using the echo-cancel module’s sink and source) using qpwgraph.

Call handling takes place outside of Hudiy and is managed by PipeWire, WirePlumber, and oFono.
Post Reply