Help: Using an Event handler. (NAudio)
Hello good people.
I'm a beginner who is making an intermediary program between my PC and my Arduino.
To implement the last function of this program, I need to be able to detect & run a method when I use my computer to change the master volume or volume of an application. Apparently the NAudio API has this functionality, as described here
https://www.fuget.org/packages/NAudio/1.10.0/lib/netstandard2.0/NAudio.dll/NAudio.CoreAudioApi.Interfaces/IAudioSessionEventsHandler
Given im a beginner, I have no Idea how I would implement this into code. My best guess at how to do this I will attach below, it does not work. If anyone knows how stuff like this actually works, It would be much appreciated
NAudio.CoreAudioApi.Interfaces.IAudioSessionEventsHandler
Type with 0 fields and 7 methods
interface to receive session related events
1 Reply