private void TestReceive()
        {
            bool b;

            m_Writer.SetReceivePostViewSamples(1, true);
            m_Writer.GetReceivePostViewSamples(1, out b);

            Debug.Assert(b);
            m_Writer.SetReceivePostViewSamples(1, !b);
        }
Пример #2
0
        private void TestPostView()
        {
            m_ViewSample = false;
            m_Alloc      = false;

            IWMWriterPostView w = m_Writer as IWMWriterPostView;

            w.SetPostViewCallback(this, new IntPtr(17));
            w.SetAllocateForPostView(1, true);
            w.SetReceivePostViewSamples(1, true);
        }