Go to file
Thomas Wilkie 419d045af7 Notes on next steps 2023-09-30 00:10:16 +09:00
.gitignore A whole bunch of changes and the addition of the code for session events. 2023-09-24 21:51:30 +09:00
AudioSessionEvents.c First commit 2023-09-15 16:31:30 +09:00
AudioSessionEvents.h First commit 2023-09-15 16:31:30 +09:00
AudioSessions_framework.c Added print out for session status as it is registered 2023-09-30 00:09:23 +09:00
AudioSesssions_framework.h A whole bunch of changes and the addition of the code for session events. 2023-09-24 21:51:30 +09:00
CLSIDs_and_IIDs.h Added static keyword to avoid link errors 2023-09-24 21:43:53 +09:00
IAudioSessionEvents.c Notes on next steps 2023-09-30 00:10:16 +09:00
IAudioSessionEvents.h A whole bunch of changes and the addition of the code for session events. 2023-09-24 21:51:30 +09:00
IAudioSessionNotification.c A whole bunch of changes and the addition of the code for session events. 2023-09-24 21:51:30 +09:00
IAudioSessionNotification.h A whole bunch of changes and the addition of the code for session events. 2023-09-24 21:51:30 +09:00
IUknownInterface.c First commit 2023-09-15 16:31:30 +09:00
IUknownInterface.cpp First commit 2023-09-15 16:31:30 +09:00
IUknownInterface.h First commit 2023-09-15 16:31:30 +09:00
README.md Added basic README 2023-09-15 16:52:38 +09:00
TODO.txt Notes on next steps 2023-09-30 00:10:16 +09:00
WASAPI Notification Interfaces.sln First commit 2023-09-15 16:31:30 +09:00
WASAPI Notification Interfaces.vcxproj A whole bunch of changes and the addition of the code for session events. 2023-09-24 21:51:30 +09:00
WASAPI Notification Interfaces.vcxproj.filters A whole bunch of changes and the addition of the code for session events. 2023-09-24 21:51:30 +09:00
WASAPI Notification Interfaces.vcxproj.user First commit 2023-09-15 16:31:30 +09:00
main.c Removed initialisation and setup work from main. 2023-09-24 21:39:54 +09:00
windows-win32-api-_coreaudio.pdf Added pdf file with details of the API 2023-09-15 16:54:28 +09:00

README.md

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.