/// <summary> /// Forked output from a common source. Not compatible with WasapiOut /// </summary> public Outlet(Fork fork, WaveFormat wf, object locker, int i) { iterated = false; this.WaveFormat = wf; this.fork = fork; this.locker = locker; buf = new float[wf.SampleRate * wf.Channels * 5]; iRead = iWrite = 0; }
/// <summary> /// Forked output from a common source. Not compatible with WasapiOut /// </summary> public Outlet(Fork fork, WaveFormat wf, object locker, int i) { iterated = false; this.WaveFormat = wf; this.fork = fork; this.locker = locker; buf = new float[wf.SampleRate * wf.Channels * 5]; iRead = iWrite = 0; dumper_r = null; dumper_w = null; //dumper_r = new Dumper(wf, "fork_r"); //dumper_w = new Dumper(wf, "fork_w"); }