Exemplo n.º 1
0
        public AcmStreamHeader(IntPtr streamHandle, int sourceBufferLength, int destBufferLength)
        {
            streamHeader  = new AcmStreamHeaderStruct();
            sourceBuffer  = new Memory <byte>(new byte[sourceBufferLength]);
            hSourceBuffer = sourceBuffer.Pin();

            destBuffer  = new Memory <byte>(new byte[destBufferLength]);
            hDestBuffer = destBuffer.Pin();

            this.streamHandle = streamHandle;
            firstTime         = true;
            //Prepare();
        }
Exemplo n.º 2
0
 public static extern MmResult acmStreamUnprepareHeader(IntPtr hAcmStream, [In, Out] AcmStreamHeaderStruct streamHeader, int flags);
Exemplo n.º 3
0
 public static extern MmResult acmStreamConvert(IntPtr hAcmStream, [In, Out] AcmStreamHeaderStruct streamHeader, AcmStreamConvertFlags streamConvertFlags);