'Detect Communication activity c#
Solution 1:[1]
Investigate the Core Audio API's for Windows.
They have an article on Custom Ducking behaviour here.
Specifically, there's a page on capturing ducking events here.
Solution 2:[2]
The ducking notification API on Windows is implemented on the header Audiopolicy.h (https://docs.microsoft.com/en-us/windows/win32/api/_coreaudio/ search for duck on that page). For your C# application to control this behavior, you would need to write a interface between C# and the C++ Windows API, which uses the Audiopolicy.h header (Use a C# interface in C++ or use a C++ interface in C#).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Winds of Change |
| Solution 2 | user |

