Windows supports the audio session events notification by IAudioSessionEvents. I want to know that is it possible to get audio stream events notification, such as an application creates an audio stream ?
Why you need audio stream notification events? Maybe MS doesn't support this. Because one audio session can have many audio streams and any APP can use WASAPIs to render audio streams in many audio sessions, two many notification events can reduce the real-time. I think it is OS's bussiness to management audio sessions and audio streams and their corresponding relations. One application doesn't need to focus on the audio streams which are created by others. Maybe the codec driver knows an audio stream creation event.