Well it is my soundcard that does the playback.
But i "solved" it, by saving the incoming audio through udp (it´s from my network chat application).
So well it works:)
But i don´t get one thing
waveWriter.WriteSamples(samples, offset, 1);
On this line of code, it´s pretty simple.
Samples = e.GetAsInterleavedSamples();
offset = 0 (or you can just write 0 and not use a variable)
But then, the last, Count.
I have no idea about that, i had to guess my way through, and the number for my mic was 192.
Another one had 1024.
I don´t know how to calculate that number, so i am just writing till it works,s
But i "solved" it, by saving the incoming audio through udp (it´s from my network chat application).
So well it works:)
But i don´t get one thing
waveWriter.WriteSamples(samples, offset, 1);
On this line of code, it´s pretty simple.
Samples = e.GetAsInterleavedSamples();
offset = 0 (or you can just write 0 and not use a variable)
But then, the last, Count.
I have no idea about that, i had to guess my way through, and the number for my mic was 192.
Another one had 1024.
I don´t know how to calculate that number, so i am just writing till it works,s