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