I am new to NAudio. I am trying to record a conversation in communicator. As per the microsoft documentation I think I have to do a LoopBack recording.
So in AudioClient I trind to Initialize using first two parameters as shared and loopback.
int hresult = audioClientInterface.Initialize(AudioClientShareMode.Shared, AudioClientStreamFlags.Loopback, bufferDuration, periodicity, waveFormat, ref audioSessionGuid);
I am getting an exception like below.
Exception from HRESULT: 0x88890003
my hresult value is -2004287485
Can anybody tell me the reason and how I can correct it??