Exemplo n.º 1
0
 public void TestInput()
 {
     TapeConverter converter = new TapeConverter();
       foreach (string s in converter.GetAudioInputDeviceNames()) {
     if (s.Contains("Microphone")) {
       converter.Record(s);
       System.Threading.Thread.Sleep(5000);
       converter.Stop("../../../data", false);
       return;
     }
       }
       Assert.Fail("No input device found.");
 }
Exemplo n.º 2
0
 public void TestObject()
 {
     TapeConverter converter = new TapeConverter();
       converter.Process("../../../Data/file-system.wav", "../../../Data");
 }