public void LoadTest()
        {
            var device = Device.GetDefaultRecordingDevice();
            var input  = new Audion.InputSource(device);

            input.Dispose();
        }
        public void RecordWithoutFileNameTest()
        {
            var device = Device.GetDefaultRecordingDevice();
            var input  = new Audion.InputSource(device);

            input.Record(null);
            input.Stop();
            input.Dispose();
        }
        public void RecordTest()
        {
            var device = Device.GetDefaultRecordingDevice();
            var input  = new Audion.InputSource(device);

            input.Record("test.wav");
            Utils.Wait(10);
            input.Stop();
            input.Dispose();

            // load file as an output source to get the length
            var output = new Audion.OutputSource("test.wav");
            var actual = Math.Round(output.Length.TotalSeconds);

            Assert.AreEqual(10, actual);
            output.Dispose();
        }