public static void Start() { if (bRecording) mciSendString("close recsound ", "", 0, 0); mciSendString("open new Type waveaudio Alias recsound", "", 0, 0); mciSendString("record recsound", "", 0, 0); bRecording = true; }