public Object clone() { SequenceConfig config = new SequenceConfig(); config.SamplingRate = this.SamplingRate; config.WaveFileOutputChannel = this.WaveFileOutputChannel; config.WaveFileOutputFromMasterTrack = this.WaveFileOutputFromMasterTrack; return(config); }
/// <summary> /// コンストラクタ。trackはcloneされないが、tempoはcloneされる。 /// </summary> /// <param name="track"></param> /// <param name="tempo"></param> public RenderedStatus(VsqTrack track, TempoVector tempo, SequenceConfig config) { this.track = track; this.tempo = new TempoVector(); foreach (var entry in tempo) { this.tempo.Add((TempoTableEntry)entry.clone()); } this.config = config; }
public bool equals(SequenceConfig item) { if (item == null) { return(false); } if (this.SamplingRate != item.SamplingRate) { return(false); } if (this.WaveFileOutputFromMasterTrack != item.WaveFileOutputFromMasterTrack) { return(false); } if (this.WaveFileOutputChannel != item.WaveFileOutputChannel) { return(false); } return(true); }
public RenderedStatus() { track = new VsqTrack(0, 0, 0); tempo = new TempoVector(); config = new SequenceConfig(); }