643 B
643 B
WASAPI Notification Interfaces
This is to implement the IAudioSessionEvents
and IAudioSessionNotification
interfaces found inthe Windows Core Audio API's Audiopolicy.h
file.
The IAudioSessionNotification
interface is used purely to register a function to be called when a new session is created and added to the audio stream:
IAudioSessionEvents
can do a multitude of things, the ones initially being implemented are:
IAudioSessionEvents::OnSessionDisconnected()
and
IAudioSessionEvents::OnSimpleVolumeChanged()
With the latter being called when the session volume is changed.