Ejemplo n.º 1
0
 public AVSOutput(string outputPath, int width, int height, double fps, int sampleRate)
 {
     this.fps        = fps;
     this.outputPath = outputPath;
     wavRecorder     = new WAVOutput(Path.ChangeExtension(outputPath, ".wav"), sampleRate);
     bmpRecorder     = new BMPOutput(Path.ChangeExtension(outputPath, ".tmp"), width, height);
     frames          = 0;
     recording       = true;
 }
Ejemplo n.º 2
0
 public AVSOutput(string outputPath, int width, int height, double fps, int sampleRate)
 {
     this.fps = fps;
     this.outputPath = outputPath;
     wavRecorder = new WAVOutput(Path.ChangeExtension(outputPath, ".wav"), sampleRate);
     bmpRecorder = new BMPOutput(Path.ChangeExtension(outputPath, ".tmp"), width, height);
     frames = 0;
     recording = true;
 }