background:
I want to broadcast the Windows system audio except my own app's one. application loopbackcapture exactly does what I want, but it only supports Windows 11 (I want a much more general solution, Windows 7/8/10/11).
current solution:
- create a virtual audio output device, and set it as system default.
- capture audio from the virtual audio output device, and broadcast it.
- route audio from the virtual audio output device to the system physical one.
I tried VAC (Virtual Audio Cable), things work fine. However it does not provide any APIs to create virtual audio device and route audio streams between audio devices.
So my question is how to create virtual audio devices and route audio streams between them.
Thanks.
platform:
Windows 10
WASAPI
visual studio 2019
information I googled: