Thank you very much for your reply!
I mean missing samples (like the original sound from the computer is: ABCDEF and the recording is like ABDEF). Sometimes it occurs after 10 seconds, sometimes after 2 minutes and sometimes I get a record without any issue... In the DataAvailable Method I
just write the buffer to the file with writer.Write(e.Buffer, 0, e.BytesRecorded); ...
Thank you very much for your help!