Record in C# with winmm.dll
<p>I want to record in my app with winmm.dll, here is my code:</p>

<pre><code>mciSendString("open new Type waveaudio Alias recsound", "", 0, 0);
mciSendString("record recsound", "", 0, 0);

string command = "set capture time format ms bitspersample 16 channels 1 samplespersec 16000 alignment 4";
mciSendString(command, "", 0, 0);
</code></pre>

<p>but format of wave file is not exactly as I set.
How i can set bit rate when record?</p>
