CopyTo() публичный Метод

Copies this signal to a given array.
public CopyTo ( Array array ) : void
array System.Array
Результат void
Пример #1
0
 private double[] getWholeSignal()
 {
     TempSignal = this.decoder.Decode(this.frames);
     double[] wholeSignal = new double[this.frames];
     TempSignal.CopyTo(wholeSignal);
     return wholeSignal;
 }
Пример #2
0
        public void addNewFrame(Signal signal)
        {
            // Save current frame
            signal.CopyTo(current);

            // Save to memory
            this.encoder.Encode(signal);

            // Update counters
            this.duration += signal.Duration;
            this.samples += signal.Samples;
            this.frames += signal.Length;
        }