I am sorry about my English.
I am trying to create a program that records my speaker audio and saves it to a file. to create a WAVE file from my SourceDataLine I followed