예제 #1
0
        private void TestSample()
        {
            int iSize;

            m_read.GetMaxOutputSampleSize(0, out iSize);
            Debug.Assert(iSize > 0);

            INSSBuffer pSamp;
            long       l;
            long       d;
            SampleFlag f;
            int        i;
            short      s;

            m_read.GetNextSample(1, out pSamp, out l, out d, out f, out i, out s);

            Debug.Assert(pSamp != null);
            Debug.Assert(d > 0);
            Debug.Assert(s == 1);

            int iMax;

            m_read.GetMaxStreamSampleSize(1, out iMax);
            Debug.Assert(iMax > 0);
        }