Author Topic: New echo cancellation API on Windows  (Read 336 times)

saga

  • Posts: 2707
New echo cancellation API on Windows
« on: 28 Mar '24 - 11:20 »
It appears that in addition to the old DirectX Media Object based echo cancellation that has been available in Windows for a while, there is now a new API available that can be applied to a WASAPI capture client. Here's a code example: https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/AcousticEchoCancellation/cpp

I wonder if this is something that could be integrated into BASS to request the operating system to do echo cancellation on a BASS recording? In the future, the this feature could probably also be extended to other platforms (e.g. Android, or macOS if BASS ever switches to using Audio Units there).

saga

  • Posts: 2707
Re: New echo cancellation API on Windows
« Reply #1 on: 19 Apr '24 - 08:33 »
Actually, after testing this on several Windows 10 / 11 machines, the API doesn't appear to be anything yet - the sample prints "Warning: Acoustic echo cancellation control is not available." everywhere. Could be that this API was created in preparation for an upcoming Windows feature update.