Added basic README

This commit is contained in:
Thomas Wilkie 2023-09-15 16:52:38 +09:00
parent cd2cc84f53
commit 6485d25759
1 changed files with 14 additions and 0 deletions

14
README.md Normal file
View File

@ -0,0 +1,14 @@
# 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()
<div style="text-align: center"> and </div>
IAudioSessionEvents::OnSimpleVolumeChanged()
With the latter being called when the session volume is changed.