示例#1
0
        public Track(ITrackContainer container, IAMTimeline timeline, IAMTimelineTrack track, string name, int priority)
        {
            _container = container;
            _timeline = timeline;
            _track = track;
            _name = name;
            _priority = priority;

            int hr = timeline.GetDefaultFPS(out _fps);
            DESError.ThrowExceptionForHR(hr);
        }
示例#2
0
        public Track(ITrackContainer container, IAMTimeline timeline, IAMTimelineTrack track, string name, int priority)
        {
            _container = container;
            _timeline  = timeline;
            _track     = track;
            _name      = name;
            _priority  = priority;

            int hr = timeline.GetDefaultFPS(out _fps);

            DESError.ThrowExceptionForHR(hr);
        }
示例#3
0
        private void TestDefaultFPS()
        {
            int          hr;
            double       f;
            const double DFPS = 29.997;

            hr = m_pTimeline.SetDefaultFPS(DFPS);
            DsError.ThrowExceptionForHR(hr);

            hr = m_pTimeline.GetDefaultFPS(out f);
            DsError.ThrowExceptionForHR(hr);

            Debug.Assert(DFPS == f, "GetDefaultFPS");
        }