Exemple #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;
 }
Exemple #2
0
 public static extern MmResult acmStreamUnprepareHeader(IntPtr hAcmStream, [In][Out] AcmStreamHeaderStruct streamHeader, int flags);
Exemple #3
0
 public static extern MmResult acmStreamConvert(IntPtr hAcmStream, [In][Out] AcmStreamHeaderStruct streamHeader, AcmStreamConvertFlags streamConvertFlags);