Пример #1
0
        ulong _readExtent = 20000000; // default is 2 seconds

        #endregion Fields

        #region Constructors

        public PerTrackCacheManager()
        {
            for (int i = 0; i < CacheBufCount; i++)
              {
            cache[i] = new Cache();
              }
        }
Пример #2
0
 void AddToDictionary(Cache c)
 {
     TimeAndPosition tap = new TimeAndPosition();
       tap.timeStamp = c.CacheStart;
       tap.position = (long)c.SampleStreamLocations[0].StreamOffset;
       tap.cts = c.SampleStreamLocations[0].CTS;
       TimeAndPos.Add(c.StartIndex, tap);
 }