示例#1
0
        internal Track(IntPtr track)
        {
            _nativePtr = track;
            var propPtr = NativeMethods.FFMS_GetTimeBase(track);

            _trackTimeBase = (FFMS_TrackTimeBase)Marshal.PtrToStructure(propPtr, typeof(FFMS_TrackTimeBase));
        }
示例#2
0
 internal Track(IntPtr track)
 {
     _nativePtr = track;
     var propPtr = NativeMethods.FFMS_GetTimeBase(track);
     _trackTimeBase = (FFMS_TrackTimeBase)Marshal.PtrToStructure(propPtr, typeof(FFMS_TrackTimeBase));
 }