示例#1
0
        private void OpenWaveInDevice()
        {
            CloseWaveInDevice();
            MmResult result;

            result = callbackInfo.WaveInOpen(out waveInHandle, DeviceNumber, WaveFormat, callback);
            MmException.Try(result, "waveInOpen");
            CreateBuffers();
        }