Example #1
0
 public AcmStreamHeader(IntPtr streamHandle, int sourceBufferLength, int destBufferLength)
 {
     this.streamHeader  = new AcmStreamHeaderStruct();
     this.sourceBuffer  = new byte[sourceBufferLength];
     this.hSourceBuffer = GCHandle.Alloc(this.sourceBuffer, GCHandleType.Pinned);
     this.destBuffer    = new byte[destBufferLength];
     this.hDestBuffer   = GCHandle.Alloc(this.destBuffer, GCHandleType.Pinned);
     this.streamHandle  = streamHandle;
     this.firstTime     = true;
 }
Example #2
0
 public static extern MmResult acmStreamUnprepareHeader(IntPtr hAcmStream, [In][Out] AcmStreamHeaderStruct streamHeader, int flags);
Example #3
0
 public static extern MmResult acmStreamConvert(IntPtr hAcmStream, [In][Out] AcmStreamHeaderStruct streamHeader, AcmStreamConvertFlags streamConvertFlags);