I have actually got it working:)
Though it has some optimization problems.
One thing is, if i want to change the input device when the chat is active, it will cause a delay getting added, and it never goes away.
Any recommendations what to do when to change input device?
As currently, i am doing this:
But can the way to change the device be improved, or is that the way to go?
Though it has some optimization problems.
One thing is, if i want to change the input device when the chat is active, it will cause a delay getting added, and it never goes away.
Any recommendations what to do when to change input device?
As currently, i am doing this:
if (connect == true)
{
sourceStream.StopRecording();
sourceStream = new WaveIn();
sourceStream.WaveFormat = new NAudio.Wave.WaveFormat(48000, 16, 2);
sourceStream.DeviceNumber = waveInDevice;
Sendv2();
}
Where Sendv2() is just so it goes back into sending.But can the way to change the device be improved, or is that the way to go?