public WaveformData(long initialBufferLengthMS) { this.audioBuffer = new MyBuffer16(initialBufferLengthMS); this.audioBuffer.AddDataToBuffer(new short[480000], 30000); //constructor CaretPositionMS = 0; SelectionStart = TimeSpan.Zero; SelectionEnd = TimeSpan.Zero; MouseLeftDown = false; LengthMS = 30000; BeginMS = 0; EndMS = 30000; DeltaMS = 1000; ShortJumpMS = 1000; YScalePercentage = 100; ScaleAutomaticaly = true; }
public WaveformData(long initialBufferLengthMS) { this.audioBuffer = new MyBuffer16(initialBufferLengthMS); this.audioBuffer.AddDataToBuffer(new short[480000], 30000); //constructor CaretPositionMS = 0; SelectionStart = TimeSpan.Zero ; SelectionEnd = TimeSpan.Zero; MouseLeftDown = false; LengthMS = 30000; BeginMS = 0; EndMS = 30000; DeltaMS = 1000; ShortJumpMS = 1000; YScalePercentage = 100; ScaleAutomaticaly = true; }