示例#1
0
        public void RecordingIsNotSupported()
        {
            const int NoRecordingDevice = -1;

            proxy.Setup(p => p.GetRecordingDevice()).Returns(NoRecordingDevice);

            Assert.Throws <BassException>(() => soundCaptureService.ReadMonoSamples(SampleRate, 10));
        }
示例#2
0
        public void RecordingIsNotSupported()
        {
            const int NoRecordingDevice = -1;

            proxy.Setup(p => p.GetRecordingDevice()).Returns(NoRecordingDevice);

            soundCaptureService.ReadMonoSamples(SampleRate, 10);
        }