This project has moved. For the latest updates, please go here.

Why does NAudio re-implement CoreAudioApi?

Oct 25, 2013 at 10:52 PM
Just curious, but why does NAudio re-implement the CoreAudioApi.dll instead of just referencing it?
Coordinator
Oct 28, 2013 at 11:27 AM
core audio is a COM based API not a .NET assembly. Also there is no coreaudioapi.dll

the classes are contained in audioses.dll and mmdevapi.dll and you can't add those as references to a .net application
Oct 28, 2013 at 3:54 PM
Yes there is a CoreAudioApi.dll. Try googling for it. It's all over the internet.
Coordinator
Oct 28, 2013 at 4:02 PM
OK I see. CoreAudioApi.dll the name of a DLL written by Ray Molenkamp as part of this CodeProject article. Quite a lot of his code has been included in NAudio with permission (look in the source code and you will see). I have made several of my own changes, customisations and bug-fixes. I only discovered it after having manually written the wrappers for about a third of WASAPI.
Marked as answer by medvezhonok on 10/28/2013 at 9:15 AM
Oct 28, 2013 at 4:15 PM
Ah. I see. I inherited a project that already had the CoreAudioApi.dll in it. I see Core Audio API mentioned all over MSDN as part of Vista++ so I assumed that the aforementioned dll was part of Windows. Sorry for the confusion.