WaveIn InputSource = new WaveIn() { DeviceNumber = deviceNumber, WaveFormat = new WaveFormat(44100, WaveIn.GetCapabilities(cmbInputDevices.SelectedIndex).Channels) };
InputSource.DataAvailable += (s,e)
{
//Lines to write into a wave file
};
InputSource.RecordingStopped += (s,e)
{
};
This is the snippet I use to record from default input device which fine, but as my mic sensitivity is not good I want to increase gain so that I could get a louder recording