Exemplo n.º 1
0
 public TimeSpan GetLength(string fileName)
 {
     var fi = new System.IO.FileInfo(fileName);
     return TimeSpan.FromSeconds((double)fi.Length / _samplingRate);
 }
Exemplo n.º 2
0
        public TimeSpan GetLength(string fileName)
        {
            var fi = new System.IO.FileInfo(fileName);

            return(TimeSpan.FromSeconds((double)fi.Length / SAMPLING_RATE));
        }
Exemplo n.º 3
0
        public TimeSpan GetLength(string fileName)
        {
            var fi = new System.IO.FileInfo(fileName);

            return(TimeSpan.FromSeconds((double)fi.Length / _samplingRate));
        }
Exemplo n.º 4
0
 public TimeSpan GetLength(string fileName)
 {
     var fi = new System.IO.FileInfo(fileName);
     return TimeSpan.FromSeconds((double)fi.Length / SAMPLING_RATE);
 }