I am working on an Auto Volume Control program that listens to the sound coming from the laptop and sets it to a certain decibel level if it is more than a specified limit.
On researching, I found out about CoreAudioAPIs and even downloaded the Windows 10 SDK to gain access to the APIs.
But I am not able to access the API. I am using C# in Visual Studio Express Edition 2015. When I write "using CoreAudioAPI" , I get the red squiggly under CoreAudioAPI. Same with MMDevice and EndpointVolume APIs, I can't find them!
I tried Adding Reference but the API is not listed.
The code below gives errors:
MMDeviceEnumerator devEnum = new MMDeviceEnumerator();
MMDevice defaultDevice =
devEnum.GetDefaultAudioEndpoint(EDataFlow.eRender, ERole.eMultimedia);
Can someone please tell me how do I access an API in a C# program on a VS Express edition?