This commit is contained in:
Grigory Chudov
2018-10-21 14:12:25 -04:00
30 changed files with 1470 additions and 121 deletions

View File

@@ -165,7 +165,9 @@ namespace CUETools.Codecs.ALAC
_IO.Close();
}
public long Length
public TimeSpan Duration => Length < 0 ? TimeSpan.Zero : TimeSpan.FromSeconds((double)Length / PCM.SampleRate);
public long Length
{
get
{