private void TestSplitAt()
        {
            int hr;
            int i1, i2;

            hr = m_VideoTrack.GetSourcesCount(out i1);
            DESError.ThrowExceptionForHR(hr);

            hr = m_Splittable.SplitAt(100);
            DESError.ThrowExceptionForHR(hr);

            hr = m_VideoTrack.GetSourcesCount(out i2);
            DESError.ThrowExceptionForHR(hr);

            Debug.Assert(i2 == i1 + 1, "SplitAt");
        }
Пример #2
0
        private void TestGetSourcesCount()
        {
            int sources = 0;
            int hr      = m_pTrack.GetSourcesCount(out sources);

            DESError.ThrowExceptionForHR(hr);

            Debug.Assert(sources == 2, "GetSourcesCount");
        }