예제 #1
0
 public static int CalculateTotalFrames(ISampleSource audio, GeneratorOptions options)
 {
     return((int)(audio.GetLength().TotalSeconds *options.Fps *(1 / options.Factor)));
 }