Ejemplo n.º 1
0
        private void TestMediaTimes2()
        {
            int          hr;
            double       i, i2;
            const double start = 1000.4321;
            const double stop  = 2000.5678;

            hr = m_pSource1Src.SetMediaTimes2(start, stop);
            DESError.ThrowExceptionForHR(hr);

            hr = m_pSource1Src.GetMediaTimes2(out i, out i2);
            DESError.ThrowExceptionForHR(hr);

            Debug.Assert(i == start && i2 == stop, "MediaTimes2");
        }