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

COMException using WasapiOut

Apr 4, 2014 at 3:07 PM
While running this line:
WasapiOut out = new WasapiOut(AudioClientShareMode.Shared, 50);
I recieve this runtime error:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in NAudio.dll

Additional information: Retrieving the COM class factory for component with CLSID {F447B69E-1884-4A7E-8055-346F74D6EDB3} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
I can't make heads nor tails of this, anyone seen this before?

Running nAudio v2.0.50727; Visual Studio 2013 Ultimate; Windows 8.1 Pro N x64.
Project is being built for Any Cpu ,with .NET Framework 4 Client Profile.
Coordinator
Apr 4, 2014 at 3:14 PM
I wonder if it is to do with you running the N edition of Windows. It may be the DMO Resampler that's missing (NAudio auto-resamples on your behalf). Try playing something at the sample rate the soundcard is working at and see if that has the same issue