Esempio n. 1
0
        // These routines are for testing IWMWriterAdvanced
        private void TestAdvanced(Bitmap b)
        {
            IWMWriterAdvanced adv = m_Writer as IWMWriterAdvanced;
            WriterStatistics  ws;

            adv.GetStatistics(0, out ws);

            Debug.Assert(ws.dwCurrentBitrate > 0);

            INSSBuffer pSample = WriteOne(b);

            adv.WriteStreamSample(1, 1234, 5678, 101001, SampleFlag.CleanPoint, pSample);
        }