public GraphBuilder(MediaBuffer mb, int index) { eventLog = new EventLog("WMG", ".", "WMGCore"); playing = false; rotnum = 0; mediaBuffer = mb; this.ssrc = 0; this.index = index; callBack = new SGCallback(mediaBuffer, index); errorMsg = ""; }
public AudioGraphBuilder(MediaBuffer mb, int index, bool muted) : base(mb, index) { this.muted = muted; if (muted) { volume = SILENCE; } else { volume = FULL_VOLUME; } }
public WMWriter(MediaBuffer mb) { eventLog = new EventLog("WMG", ".", "WMGCore"); mb.OnSampleReady += new MediaBuffer.sampleReadyHandler(ReceiveSample); scriptBitrate = 0; writerAdvanced = null; writer = null; netSink = null; fileSink = null; audioProps = null; videoProps = null; audioInput = 0; videoInput = 0; scriptStreamNumber = 0; lastWriteTime = 0; profileManager = null; writeFailed = false; }
public SGCallback(MediaBuffer buf, int index) { mediaBuffer = buf; this.index = index; }
public VideoGraphBuilder(MediaBuffer mb, int index, bool visible) : base(mb, index) { this.visible = visible; }