New echo cancellation API on Windows

Started by saga, 28 Mar '24 - 11:20

saga

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

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.